add time limit to exams
This commit is contained in:
@@ -585,6 +585,9 @@ def exam_json(request, pk):
|
||||
"questions": exam_questions,
|
||||
}
|
||||
|
||||
if exam.time_limit:
|
||||
exam_json["exam_time"] = exam.time_limit
|
||||
|
||||
exam.recreate_json = False
|
||||
exam.save()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user