This commit is contained in:
Ross
2022-03-30 21:45:21 +01:00
parent 6c7637bba2
commit 22508bf249
+6
View File
@@ -222,6 +222,12 @@ class Rapid(models.Model):
return examinations
def __str__(self):
if self.normal:
return "{}/normal".format(self.pk)
else:
return "{}".format(self.pk)
def get_long_str(self):
n = "Normal"
if not self.normal:
# n = self.answers.first()