From 494b8ffb17791618ae6c7cc539aa1595a52314d5 Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 4 Jan 2019 12:45:51 +1300 Subject: [PATCH] Fix slot naming if re-using talk types --- vendor/symposion/schedule/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/symposion/schedule/models.py b/vendor/symposion/schedule/models.py index 3517164e..fd6a17a4 100644 --- a/vendor/symposion/schedule/models.py +++ b/vendor/symposion/schedule/models.py @@ -178,7 +178,7 @@ class Slot(models.Model): super(Slot, self).save(*args, **kwargs) def __str__(self): - return "%s: %s" % (self.kind.schedule.section.name, self.name) + return "%s: %s" % (self.day.schedule.section.name, self.name) class SymposionMeta: select_related = ('kind__schedule__section', 'day')