.
This commit is contained in:
+2
-2
@@ -149,7 +149,7 @@ class Long(models.Model):
|
||||
|
||||
def __str__(self):
|
||||
examinations = [series.get_examination() for series in self.series.all()]
|
||||
return "{} : {}".format(self.description, ", ".join(examinations))
|
||||
return "{}/{} : {}".format(self.pk, self.description, ", ".join(examinations))
|
||||
|
||||
def get_exams(self):
|
||||
e = self.exams.all().values_list("name", flat=True)
|
||||
@@ -368,7 +368,7 @@ class LongSeries(models.Model):
|
||||
#long_id = self.long.pk
|
||||
else:
|
||||
long_id = "None"
|
||||
return "{} : {} [{}]".format(
|
||||
return "{}/{} : {} [{}]".format(self.pk,
|
||||
self.get_examination(), self.description, long_id
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user