more fixes
This commit is contained in:
+3
-3
@@ -181,12 +181,12 @@ class AnatomyQuestion(models.Model):
|
||||
if i.status != i.MarkOptions.UNMARKED
|
||||
]
|
||||
)
|
||||
correct_answers = set([i.answer.lower() for i in self.answers.all()])
|
||||
correct_answers = set([i.answer.get_compare_string() for i in self.answers.all()])
|
||||
half_mark_answers = set(
|
||||
[i.answer.lower() for i in self.half_mark_answers.all()]
|
||||
[i.answer.get_compare_string() for i in self.half_mark_answers.all()]
|
||||
)
|
||||
incorrect_answers = set(
|
||||
[i.answer.lower() for i in self.incorrect_answers.all()]
|
||||
[i.answer.get_compare_string() for i in self.incorrect_answers.all()]
|
||||
)
|
||||
|
||||
marked_answers = correct_answers | half_mark_answers | incorrect_answers
|
||||
|
||||
Reference in New Issue
Block a user