Don't schedule sessions on Sunday in schedule builder.
- Legacy-Id: 17899
This commit is contained in:
parent
2f8dfe8c78
commit
38aaa38a0b
|
@ -87,6 +87,7 @@ class ScheduleHandler(object):
|
|||
).exclude(location__capacity=None).select_related('location')
|
||||
|
||||
timeslots = {TimeSlot(t, self.verbosity) for t in timeslots_db}
|
||||
timeslots = {t for t in timeslots if t.day != 'sunday'}
|
||||
for timeslot in timeslots:
|
||||
timeslot.store_relations(timeslots)
|
||||
|
||||
|
|
Loading…
Reference in a new issue