From ea3e709e7a24ce441cb29ca85184c2822df2f431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=A4ttasch?= <benjamin.haettasch@fachschaft.informatik.tu-darmstadt.de> Date: Sat, 30 Jan 2021 14:56:09 +0100 Subject: [PATCH] Fix formation issue in simplified duration representation of AKSlot Also use this representation in durations list of AK --- AKModel/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AKModel/models.py b/AKModel/models.py index b3719536..dcb1d457 100644 --- a/AKModel/models.py +++ b/AKModel/models.py @@ -264,7 +264,7 @@ class AK(models.Model): @property def durations_list(self): - return ", ".join(str(slot.duration) for slot in self.akslot_set.all()) + return ", ".join(str(slot.duration_simplified) for slot in self.akslot_set.all()) @property def tags_list(self): -- GitLab