.
This commit is contained in:
+3
-3
@@ -737,7 +737,7 @@ class ExamViews(View, LoginRequiredMixin):
|
||||
|
||||
return render(
|
||||
request,
|
||||
"{}/mark_question_double_overview.html".format(self.app_name),
|
||||
"{}/mark_overview.html".format(self.app_name),
|
||||
{"exam": exam, "question_unmarked_map": question_unmarked_map},
|
||||
)
|
||||
except AttributeError:
|
||||
@@ -746,12 +746,12 @@ class ExamViews(View, LoginRequiredMixin):
|
||||
question_unmarked_map = []
|
||||
for q in questions:
|
||||
question_unmarked_map.append(
|
||||
(q, int(q.get_unmarked_user_answer_count(exam_pk=exam.pk)))
|
||||
(q, int(q.get_unmarked_user_answer_count(exam_pk=exam.pk), 1))
|
||||
)
|
||||
|
||||
return render(
|
||||
request,
|
||||
"{}/mark_question_single_overview.html".format(self.app_name),
|
||||
"{}/mark_overview.html".format(self.app_name),
|
||||
{"exam": exam, "question_unmarked_map": question_unmarked_map},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user