This commit is contained in:
Ross
2021-12-06 15:47:33 +00:00
parent 13c8143faa
commit 2f821a2878
+1 -1
View File
@@ -240,7 +240,7 @@ class Case(models.Model):
def __str__(self): def __str__(self):
examinations = [series.get_examination() for series in self.series.all()] examinations = [series.get_examination() for series in self.series.all()]
return f"{self.pk}:{self.title} {'/'.join([c for c in self.condition.all()])}, {', '.join(examinations)}" return f"{self.pk}:{self.title} {'/'.join([str(c) for c in self.condition.all()])}, {', '.join(examinations)}"
class SeriesImage(models.Model): class SeriesImage(models.Model):