From a34d75ec7a6548ba7196e39894d6dcce9806411e Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 18 Apr 2021 12:55:17 +0100 Subject: [PATCH] . --- longs/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/longs/models.py b/longs/models.py index 4b0c457e..68705735 100644 --- a/longs/models.py +++ b/longs/models.py @@ -605,9 +605,12 @@ class Exam(ExamBase): "exam_mode": True, "exam_order": exam_order, "questions": exam_questions, - "question_requests": exam_questions, + #"question_requests": exam_questions, } + if based: + exam_json["question_requests"] = exam_questions + if self.time_limit: exam_json["exam_time"] = self.time_limit