Request validation fix.
[wolnelektury.git] / src / club / payu / views.py
index 3f06b37..91e28cc 100644 (file)
@@ -75,7 +75,7 @@ class NotifyView(View):
             return http.HttpResponseBadRequest('wrong')
 
         notification = order.notification_set.create(
             return http.HttpResponseBadRequest('wrong')
 
         notification = order.notification_set.create(
-            body=request.body
+            body=request.body.decode('utf-8')
         )
         notification.apply()
 
         )
         notification.apply()