This commit is contained in:
Ross
2021-12-15 20:04:37 +00:00
parent 25ac8762d9
commit d31b8efb16
2 changed files with 25 additions and 0 deletions
+7
View File
@@ -654,6 +654,13 @@ class CidUserAnswer(models.Model):
created = models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True)
score = models.CharField(
max_length=1,
choices=Answer.MarkOptions.choices,
default=Answer.MarkOptions.UNMARKED,
blank=True
)
def __str__(self):
try:
exam = self.exam