This commit is contained in:
Ross
2021-04-18 12:04:41 +01:00
parent 148dfaa9cd
commit c838f9ccc7
+1 -1
View File
@@ -992,7 +992,7 @@ def question_json_unbased(request, pk):
"""
No (file based) caching is enabled for unbased quesitons
"""
question = get_object_or_404(self.Exam, pk=pk)
question = get_object_or_404(Long, pk=pk)
question_json = question.get_json(pk, based=False)
return JsonResponse(question_json)