From a5ed0c6adea4735663974ba739b80be7677bc166 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 26 Jun 2021 12:25:55 +0100 Subject: [PATCH] . --- longs/models.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/longs/models.py b/longs/models.py index d88d3c9b..3cda15f8 100644 --- a/longs/models.py +++ b/longs/models.py @@ -568,7 +568,7 @@ class Exam(ExamBase): return exam_question - def get_exam_json(self, based=False): + def get_exam_json(self, based=True): questions = self.exam_questions.all() exam_questions = defaultdict(dict) @@ -630,8 +630,6 @@ class Exam(ExamBase): if self.time_limit: exam_json["exam_time"] = self.time_limit - exam_json["HELLO"] = "WORLD" - return exam_json class CidUserAnswer(models.Model):