This commit is contained in:
Ross
2021-12-06 16:41:32 +00:00
parent 2f821a2878
commit 7dcaa4f439
3 changed files with 83 additions and 21 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ class Case(models.Model):
def __str__(self):
examinations = [series.get_examination() for series in self.series.all()]
return f"{self.pk}:{self.title} {'/'.join([str(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):