From: Gael Le Mignot Date: Thu, 24 Jun 2021 07:10:42 +0000 (+0200) Subject: Fixed correcteurs form X-Git-Tag: 2.1~53 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=dabcc2fefb84786b040b11930b4e26845c4e39b4;p=teleforma.git Fixed correcteurs form --- diff --git a/teleforma/forms.py b/teleforma/forms.py index c5878702..38c8373f 100644 --- a/teleforma/forms.py +++ b/teleforma/forms.py @@ -295,7 +295,7 @@ class CorrectorForm(ModelForm): pay_status=data.get('pay_status'), ) corrector.save() - corrector.courses = data.get('courses') + corrector.courses.set(data.get('courses')) return user