X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/05654e3a2f44de8dd901651b0a74e6f4eda980be..6bf9138bd74d9725e84cf3b31e3e1ee94b2a6656:/src/newsletter/forms.py?ds=inline 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'):