From 35ee15e05251d43a9dad3f81e5fabcc404b47728 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 6 Dec 2021 15:42:14 +0000 Subject: [PATCH] . --- atlas/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/models.py b/atlas/models.py index df029c07..d21ad9ef 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -235,7 +235,7 @@ class Case(models.Model): def __str__(self): examinations = [series.get_examination() for series in self.series.all()] - return "{}/{} : {}".format(self.pk, self.description, ", ".join(examinations)) + return f"{self.pk}/{self.title} {self.condition}, {', '.join(examinations)}" class SeriesImage(models.Model):