+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
from hashlib import md5, sha256
from django.conf import settings
from django import http
return http.HttpResponseBadRequest('wrong')
notification = order.notification_set.create(
- body=request.body
+ body=request.body.decode('utf-8')
)
notification.apply()