.
This commit is contained in:
@@ -731,6 +731,8 @@ def mark_answer(request, exam_id, question_number, cid):
|
|||||||
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:
|
||||||
answer.score = marks[0]
|
answer.score = marks[0]
|
||||||
|
else:
|
||||||
|
answer.score = ""
|
||||||
answer.save()
|
answer.save()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user