.
This commit is contained in:
+3
-3
@@ -109,9 +109,9 @@ def exam_scores_cid(request, pk):
|
||||
s = q.cid_user_answers.filter(cid=cid, exam__id=pk).first()
|
||||
if not s:
|
||||
# skip if no answer
|
||||
user_answers_marks[cid].append(0)
|
||||
user_answers[cid].append("")
|
||||
by_question[q].append(("", 0))
|
||||
user_answers_marks[cid].append((0,0,0,0,0))
|
||||
user_answers[cid].append(("", "", "", "", ""))
|
||||
by_question[q].append((("", 0),("", 0),("", 0),("", 0),("", 0),))
|
||||
continue
|
||||
|
||||
ans = s.get_answer()
|
||||
|
||||
Reference in New Issue
Block a user