fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
locale
[wolnelektury.git]
/
src
/
club
/
payu
/
views.py
diff --git
a/src/club/payu/views.py
b/src/club/payu/views.py
index
f84bf76
..
91e28cc
100644
(file)
--- a/
src/club/payu/views.py
+++ b/
src/club/payu/views.py
@@
-1,3
+1,6
@@
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from hashlib import md5, sha256
from django.conf import settings
from django import http
from hashlib import md5, sha256
from django.conf import settings
from django import http
@@
-72,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()