.
This commit is contained in:
+1
-2
@@ -408,9 +408,8 @@ class ExamViews(View, LoginRequiredMixin):
|
|||||||
|
|
||||||
question_unmarked_map = []
|
question_unmarked_map = []
|
||||||
for q in questions:
|
for q in questions:
|
||||||
question_unmarked_map.append((q, int(q.get_unmarked_answer_count())))
|
question_unmarked_map.append((q, int(q.get_unmarked_answer_count(exam_pk=exam.pk))))
|
||||||
|
|
||||||
# TODO: fix showing unmarked answer count from other exams...
|
|
||||||
return render(
|
return render(
|
||||||
request, "{}/mark_overview.html".format(self.app_name), {"exam": exam, "question_unmarked_map": question_unmarked_map}
|
request, "{}/mark_overview.html".format(self.app_name), {"exam": exam, "question_unmarked_map": question_unmarked_map}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user