.
This commit is contained in:
+3
-3
@@ -678,9 +678,9 @@ def mark_answer(request, exam_id, question_number, cid, override=False):
|
||||
|
||||
try:
|
||||
if exam.double_mark:
|
||||
unmarked = question.get_unmarked_answers(exam_pk=exam.id, marker=request.user)
|
||||
unmarked = question.get_unmarked_user_answers(exam_pk=exam.id, marker=request.user)
|
||||
else:
|
||||
unmarked = question.get_unmarked_answers(exam_pk=exam.id)
|
||||
unmarked = question.get_unmarked_user_answers(exam_pk=exam.id)
|
||||
next_unmarked_id = unmarked[0].cid
|
||||
if next_unmarked_id == cid:
|
||||
next_unmarked_id = unmarked[1].cid
|
||||
@@ -809,7 +809,7 @@ def mark_question_overview(request, exam_id, sk):
|
||||
unmarked_count = user_answers.filter(score=CidUserAnswer.ScoreOptions.UNMARKED).count()
|
||||
|
||||
if exam.double_mark:
|
||||
marker_unmarked_count = question.get_unmarked_answer_count(exam.pk, marker=request.user)
|
||||
marker_unmarked_count = question.get_unmarked_user_answer_count(exam.pk, marker=request.user)
|
||||
return render(
|
||||
request,
|
||||
"longs/mark_question_double_overview.html",
|
||||
|
||||
Reference in New Issue
Block a user