This commit is contained in:
Ross
2021-09-12 11:34:14 +01:00
parent 15463a29bf
commit 5c0a5d04ca
4 changed files with 18 additions and 7 deletions
+4 -1
View File
@@ -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)