This commit is contained in:
Ross
2021-12-18 17:45:48 +00:00
parent 8b8ab773ea
commit 2a3b8b06df
2 changed files with 18 additions and 10 deletions
+6
View File
@@ -468,6 +468,12 @@ class CidUserAnswer(models.Model):
# s = s.translate(str.maketrans('', '', string.punctuation))
# return s
def get_blank_answer(self):
return 0
def get_blank_answer_string(self):
return ""
def get_answer_score(self, cached=True):
if cached and self.score:
if self.score == Answer.MarkOptions.CORRECT: