.
This commit is contained in:
+11
-11
@@ -187,18 +187,18 @@ class AnatomyQuestion(models.Model):
|
||||
if i.status != i.MarkOptions.UNMARKED
|
||||
]
|
||||
)
|
||||
correct_answers = set(
|
||||
[i.answer.get_compare_string() for i in self.answers.all()]
|
||||
)
|
||||
half_mark_answers = set(
|
||||
[i.answer.get_compare_string() for i in self.half_mark_answers.all()]
|
||||
)
|
||||
incorrect_answers = set(
|
||||
[i.answer.get_compare_string() for i in self.incorrect_answers.all()]
|
||||
)
|
||||
#correct_answers = set(
|
||||
# [i.answer.get_compare_string() for i in self.answers.all()]
|
||||
#)
|
||||
#half_mark_answers = set(
|
||||
# [i.answer.get_compare_string() for i in self.half_mark_answers.all()]
|
||||
#)
|
||||
#incorrect_answers = set(
|
||||
# [i.answer.get_compare_string() for i in self.incorrect_answers.all()]
|
||||
#)
|
||||
|
||||
marked_answers = correct_answers | half_mark_answers | incorrect_answers
|
||||
return marked_answers
|
||||
#marked_answers = correct_answers | half_mark_answers | incorrect_answers
|
||||
#return marked_answers
|
||||
|
||||
def get_annotations(self):
|
||||
return self.image_annotations
|
||||
|
||||
@@ -477,4 +477,8 @@ td.user-answer-score-2::after {
|
||||
.long-answer .answer-heading {
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.proposed-answer {
|
||||
color: darkblue
|
||||
}
|
||||
Reference in New Issue
Block a user