fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixes
[wolnelektury.git]
/
src
/
club
/
forms.py
diff --git
a/src/club/forms.py
b/src/club/forms.py
index
ceda8d5
..
0ee00dc
100644
(file)
--- a/
src/club/forms.py
+++ b/
src/club/forms.py
@@
-90,7
+90,7
@@
class DonationStep2Form(forms.ModelForm, NewsletterForm):
consents = []
for consent, key, consent_field in self.consent:
- if self.cleaned_data[key]:
+ if
consent.required or
self.cleaned_data[key]:
instance.consent.add(consent)
return instance