From 40e7ff29bfe0b718c945f67a8d1f2b1f9cd9d8cd Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 4 May 2022 22:49:10 +0100 Subject: [PATCH] . --- generic/forms.py | 2 ++ rapids/forms.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/generic/forms.py b/generic/forms.py index 2d8b705a..58810487 100755 --- a/generic/forms.py +++ b/generic/forms.py @@ -51,6 +51,8 @@ class ExamFormMixin: instance = ModelForm.save(self, False) instance.save() + self.save_m2m() + return instance class ExaminationForm(ModelForm): diff --git a/rapids/forms.py b/rapids/forms.py index e0063ccb..08e8e372 100755 --- a/rapids/forms.py +++ b/rapids/forms.py @@ -242,5 +242,5 @@ class ExamForm(ExamFormMixin, ModelForm): "publish_results", "archive", "cid_user_groups", - "author", + #"author", ]