From: Guillaume Pellerin Date: Fri, 17 Mar 2023 08:54:24 +0000 (+0100) Subject: bugfix X-Git-Tag: 2.9.0~71^2~9 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8e017e2808e075731934e0522d2ec8ea69b4dd86;p=teleforma.git bugfix --- diff --git a/teleforma/forms.py b/teleforma/forms.py index d87960b6..0ecac65b 100644 --- a/teleforma/forms.py +++ b/teleforma/forms.py @@ -187,7 +187,7 @@ class UserForm(ModelForm): birthday=data['birthday'] ) if commit: - profile.save() + self.profile.save() platform_only = data.get('platform_only') == 'True' and True or False fascicule = data.get('fascicule') == 'True' and True or False training = data.get('training')