This commit is contained in:
Ross
2021-02-17 14:23:33 +00:00
parent c1f082abe1
commit 67ad358f2b
7 changed files with 75 additions and 52 deletions
+5 -5
View File
@@ -406,15 +406,15 @@ class CidUserAnswer(models.Model):
class ScoreOptions(models.TextChoices):
UNMARKED = "", _("Unmarked")
FOUR = "4", _("4")
FOUR = 4, _("4")
FOUR_HALF = "4.5", _("4.5")
FIVE = "5", _("5")
FIVE = 5, _("5")
FIVE_HALF = "5.5", _("5.5")
SIX = "6", _("6")
SIX = 6, _("6")
SIX_HALF = "6.5", _("6.5")
SEVEN = "7", _("7")
SEVEN = 7, _("7")
SEVEN_HALF = "7.5", _("7.5")
EIGHT = "8", _("8")
EIGHT = 8, _("8")
score = models.CharField(
max_length=3, choices=ScoreOptions.choices, default=ScoreOptions.UNMARKED, blank=True