X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..eb2eb95bfbfe8c777c4192ea434a0e999edf3a51:/src/funding/forms.py diff --git a/src/funding/forms.py b/src/funding/forms.py index 915e2aa09..ef797740f 100644 --- a/src/funding/forms.py +++ b/src/funding/forms.py @@ -21,8 +21,8 @@ class FundingForm(NewsletterForm): email = forms.EmailField( label=_("Contact e-mail"), help_text=mark_safe(_( - "We'll use it to contact you about the details needed for your perks,
" - "and to send you updates about your payment and the fundraiser status (which you can always turn off).
" + "We'll use it to " + "send you updates about your payment and the fundraiser status (which you can always turn off).
" "Your e-mail won't be publicised.")), required=False) data_processing_part2 = '''\ @@ -58,5 +58,5 @@ adres e-mail zostanie wykorzystany także w celu przesyłania newslettera Wolnyc amount=self.cleaned_data['amount'], language_code=get_language(), ) - funding.perks = funding.offer.get_perks(funding.amount) + funding.perks.set(funding.offer.get_perks(funding.amount)) return funding