...
This commit is contained in:
+1
-1
@@ -583,7 +583,7 @@ def exam_scores_cid(request, pk):
|
|||||||
user_names[cid] = cid
|
user_names[cid] = cid
|
||||||
for q in questions:
|
for q in questions:
|
||||||
# Get user answer
|
# Get user answer
|
||||||
s = q.cid_user_answers.filter(cid=cid)
|
s = q.cid_user_answers.filter(cid=cid).first()
|
||||||
if not s:
|
if not s:
|
||||||
# skip if no answer
|
# skip if no answer
|
||||||
user_answers_marks[cid].append(0)
|
user_answers_marks[cid].append(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user