From 2c19567872a5fdf52c1860535342ba29d0545be7 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 20 Nov 2023 09:29:26 +0000 Subject: [PATCH] reset active / publish when cloning exams --- generic/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generic/views.py b/generic/views.py index 2c11d996..0fda623e 100644 --- a/generic/views.py +++ b/generic/views.py @@ -2335,6 +2335,9 @@ class ExamCloneMixin: initial_data["cid_user_groups"] = [] initial_data["user_user_groups"] = [] + initial_data["active"] = False + initial_data["publish_results"] = False + self.exam_questions = list(questions) self.author = list(authors)