This commit is contained in:
Ross
2021-02-27 11:41:03 +00:00
parent f53d77a17c
commit b7788f5cd2
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ class ExamViews(View, LoginRequiredMixin):
exam_json_cache["cached"] = True
return JsonResponse(exam_json_cache)
exam_json = exam.get_exam_question_json()
exam_json = exam.get_exam_question_json(sk)
cache.set("{}_exam_json_{}_{}".format(self.app_name, pk, sk), exam_json, 3600)