From 5327877aae8a33385b445d53c008976fc6a5102e Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 11 Mar 2021 13:05:03 +0000 Subject: [PATCH] . --- generic/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/views.py b/generic/views.py index ce65b383..c97e26d4 100644 --- a/generic/views.py +++ b/generic/views.py @@ -324,7 +324,7 @@ class ExamViews(View, LoginRequiredMixin): else: creation_time = "None" - json = { + obj = { "name": exam.get_exam_name(), "url": request.build_absolute_uri(exam.get_json_url()), "type": self.question_type, @@ -338,7 +338,7 @@ class ExamViews(View, LoginRequiredMixin): # # h[question.pk] = question.json_creation_time.isoformat() # # h[question.pk] = "TEST" # json["multi_question_json"] = h - active_exams["exams"].append( json ) + active_exams["exams"].append( obj ) if json == False: return active_exams["exams"]