diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/models.py b/program/models.py index 891f0b7..b73e7ac 100644 --- a/program/models.py +++ b/program/models.py @@ -241,7 +241,7 @@ class TimeSlotManager(models.Manager): class TimeSlot(models.Model): programslot = models.ForeignKey(ProgramSlot, related_name='timeslots', verbose_name=_("Program slot")) - start = models.DateTimeField(_("Start time")) + start = models.DateTimeField(_("Start time"), unique=True) end = models.DateTimeField(_("End time")) show = models.ForeignKey(Show, editable=False) |