From: Guillaume Pellerin Date: Fri, 17 Mar 2023 08:56:26 +0000 (+0100) Subject: fix save method X-Git-Tag: 2.9.0~71^2~7 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9b73b38ac07ba9a2d979020986d474857bfb6562;p=teleforma.git fix save method --- diff --git a/teleforma/forms.py b/teleforma/forms.py index 0f390285..a03df7dd 100644 --- a/teleforma/forms.py +++ b/teleforma/forms.py @@ -222,7 +222,7 @@ class UserForm(ModelForm): class UserUseYourLawOriginForm(UserForm): def save(self, commit=True): - super(UserUseYourLawOriginForm, self).__save__(*args, **kwargs) + super(UserUseYourLawOriginForm, self).save(*args, **kwargs) origin = Origin.objects.get_or_create(name="UseYourLaw") self.profile.origin = origin