.
This commit is contained in:
+1
-1
@@ -601,7 +601,7 @@ def exam_scores_cid2(request, pk):
|
|||||||
ans_by_question = defaultdict(dict)
|
ans_by_question = defaultdict(dict)
|
||||||
unmarked = set()
|
unmarked = set()
|
||||||
|
|
||||||
questions = exam.exam_questions.all()
|
questions = exam.exam_questions.all().prefectch_related("answers")
|
||||||
|
|
||||||
cid_user_answers = CidUserAnswer.objects.filter(question__in=questions, exam__id=pk)
|
cid_user_answers = CidUserAnswer.objects.filter(question__in=questions, exam__id=pk)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user