This commit is contained in:
Ross
2021-08-19 11:47:44 +01:00
parent a9c33dedd1
commit 75501645bc
+1 -1
View File
@@ -1136,7 +1136,7 @@ def question_review(request, pk, sk):
"""
Return a json representation of the question when the exam is active
"""
exam = get_object_or_404(Rapid, pk=pk)
exam = get_object_or_404(Exam, pk=pk)
question = exam.exam_questions.all()[sk]
question_json = question.get_question_json(based=False)