From: Guillaume Pellerin Date: Fri, 17 Mar 2023 08:55:30 +0000 (+0100) Subject: fix class X-Git-Tag: 2.9.0~71^2~8 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=56ef05eca886927ae7192b8458b5be406c694830;p=teleforma.git fix class --- diff --git a/teleforma/forms.py b/teleforma/forms.py index 0ecac65b..0f390285 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(UserSourceForm, self).__save__(*args, **kwargs) + super(UserUseYourLawOriginForm, self).__save__(*args, **kwargs) origin = Origin.objects.get_or_create(name="UseYourLaw") self.profile.origin = origin