.
This commit is contained in:
+1
-1
@@ -762,7 +762,7 @@ def mark_answer(request, exam_id, question_number, cid, override=False):
|
|||||||
if answer.mark.count() == 2 or override:
|
if answer.mark.count() == 2 or override:
|
||||||
# if they do automatically update teh scoer
|
# if they do automatically update teh scoer
|
||||||
marks = set(answer.mark.values_list("score", flat=True))
|
marks = set(answer.mark.values_list("score", flat=True))
|
||||||
if len(marks) > 1:
|
if len(marks) > 1 or override:
|
||||||
discrepancy_form = MarkLongQuestionSingleForm(initial={'score': answer.score })
|
discrepancy_form = MarkLongQuestionSingleForm(initial={'score': answer.score })
|
||||||
|
|
||||||
return render(
|
return render(
|
||||||
|
|||||||
Reference in New Issue
Block a user