.
This commit is contained in:
+1
-1
@@ -373,7 +373,7 @@ class ExamViews(View, LoginRequiredMixin):
|
|||||||
if not exam.active:
|
if not exam.active:
|
||||||
raise Http404("No available exam")
|
raise Http404("No available exam")
|
||||||
|
|
||||||
exam_json = exam.get_exam_json()
|
exam_json = exam.get_exam_json(based=False)
|
||||||
return JsonResponse(exam_json)
|
return JsonResponse(exam_json)
|
||||||
|
|
||||||
def exam_json(self, request, pk):
|
def exam_json(self, request, pk):
|
||||||
|
|||||||
Reference in New Issue
Block a user