.
This commit is contained in:
@@ -222,6 +222,12 @@ class Rapid(models.Model):
|
|||||||
return examinations
|
return examinations
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
if self.normal:
|
||||||
|
return "{}/normal".format(self.pk)
|
||||||
|
else:
|
||||||
|
return "{}".format(self.pk)
|
||||||
|
|
||||||
|
def get_long_str(self):
|
||||||
n = "Normal"
|
n = "Normal"
|
||||||
if not self.normal:
|
if not self.normal:
|
||||||
# n = self.answers.first()
|
# n = self.answers.first()
|
||||||
|
|||||||
Reference in New Issue
Block a user