Skip to content

Commit

Permalink
Merge pull request #624 from CTPUG/bugfix/unbreak_schedule_editor
Browse files Browse the repository at this point in the history
Switch to slots.set to support recent Django behaviour
  • Loading branch information
drnlm committed Sep 30, 2021
2 parents 36b1bb6 + dc90233 commit 14a8f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wafer/schedule/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def create(self, validated_data):
else:
existing_schedule_item.talk = talk
existing_schedule_item.page = page
existing_schedule_item.slots = slots
existing_schedule_item.slots.set(slots)
# Clear any existing details that aren't editable by the
# schedule edit view
existing_schedule_item.details = ''
Expand Down

0 comments on commit 14a8f57

Please sign in to comment.