This commit is contained in:
Ross
2021-02-05 12:44:53 +00:00
parent 24b1d9269a
commit f53dfdec46
+1 -1
View File
@@ -132,7 +132,7 @@ class LongSeries(models.Model):
description = models.TextField(blank=True, help_text="Description of stack, for admin organisation, will not be visible when taking")
def __str__(self):
return "{} : {}".format(self.get_examination(), self.description)
return "{} : {} [{}]".format(self.get_examination(), self.description, self.long.pk)
def get_examination(self):
"""Returns a comma seperated text list of regions"""