.
This commit is contained in:
+2
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user