Fix slot naming if re-using talk types
This commit is contained in:
parent
1d7b851bb6
commit
494b8ffb17
1 changed files with 1 additions and 1 deletions
2
vendor/symposion/schedule/models.py
vendored
2
vendor/symposion/schedule/models.py
vendored
|
@ -178,7 +178,7 @@ class Slot(models.Model):
|
||||||
super(Slot, self).save(*args, **kwargs)
|
super(Slot, self).save(*args, **kwargs)
|
||||||
|
|
||||||
def __str__(self):
|
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:
|
class SymposionMeta:
|
||||||
select_related = ('kind__schedule__section', 'day')
|
select_related = ('kind__schedule__section', 'day')
|
||||||
|
|
Loading…
Reference in a new issue