diff --git a/symposion/schedule/models.py b/symposion/schedule/models.py index 5954e07e861501611a4864a09557addbfd6f45a8..38ff6f09d4504deb5ae57f60d4b7ead733d7efff 100644 --- a/symposion/schedule/models.py +++ b/symposion/schedule/models.py @@ -79,10 +79,10 @@ class Slot(models.Model): """ Unassign the associated content with this slot. """ - if self.content and self.content.slot_id: - presentation = self.content - presentation.slot = None - presentation.save() + content = self.content + if content and content.slot_id: + content.slot = None + content.save() @property def content(self):