X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/05654e3a2f44de8dd901651b0a74e6f4eda980be..fa8ae232e2fb6480e1f99bdb8393eaf682c0d2d1:/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'):