a couple of fixmes, that kinda undermine the whole idea.

This commit is contained in:
Clinton Roy 2019-10-13 21:24:39 +11:00 committed by Joel Addison
parent 0d380cd8fc
commit a23f22dd09

View file

@ -147,8 +147,11 @@ class Command(BaseCommand):
end=end_time,
exclusive=exclusive)
# FIXME update the preso.slot, e.g. if the day/time changes
preso.save()
# FIXME what happens if the room changes?
slotroom, _create = SlotRoom.objects.get_or_create(
slot=preso.slot,
room=self.rooms[room_name])