.
This commit is contained in:
+4
-1
@@ -1,4 +1,5 @@
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.forms.models import model_to_dict
|
||||
from django.shortcuts import render, get_object_or_404, redirect
|
||||
|
||||
from django.contrib.auth.decorators import login_required, user_passes_test
|
||||
@@ -638,4 +639,6 @@ class ExamViews(View, LoginRequiredMixin):
|
||||
|
||||
cache.set("{}_question_json_{}".format(self.app_name, sk), question_json, 3600)
|
||||
|
||||
return JsonResponse(question_json)
|
||||
return JsonResponse(question_json)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user