.
This commit is contained in:
@@ -468,6 +468,9 @@ class CidUserAnswer(models.Model):
|
||||
# s = s.translate(str.maketrans('', '', string.punctuation))
|
||||
# return s
|
||||
|
||||
def get_answer_string(self):
|
||||
return self.answer
|
||||
|
||||
def get_answer_score(self, cached=True):
|
||||
if cached and self.score:
|
||||
if self.score == Answer.MarkOptions.CORRECT:
|
||||
|
||||
Reference in New Issue
Block a user