X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/05654e3a2f44de8dd901651b0a74e6f4eda980be..5b312d5dfc897d291d4d4ed159fc25d7f5493d41:/src/newsletter/forms.py diff --git a/src/newsletter/forms.py b/src/newsletter/forms.py index 323fe3f5f..eb7afa5a8 100644 --- a/src/newsletter/forms.py +++ b/src/newsletter/forms.py @@ -29,10 +29,10 @@ Więcej informacji w polityce prywatności.''' def data_processing(self): return mark_safe('%s %s %s' % (self.data_processing_part1, self.data_processing_part2, self.data_processing_part3)) - def save(self): + def save(self, *args, **kwargs): try: # multiple inheritance mode - super(NewsletterForm, self).save() + super(NewsletterForm, self).save(*args, **kwargs) except AttributeError: pass if not self.cleaned_data.get('agree_newsletter'):