From dabcc2fefb84786b040b11930b4e26845c4e39b4 Mon Sep 17 00:00:00 2001 From: Gael Le Mignot Date: Thu, 24 Jun 2021 09:10:42 +0200 Subject: [PATCH] Fixed correcteurs form --- teleforma/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5