Changeset - bf4b682e8af7
[Not reviewed]
0 1 0
Martin Brochhaus - 10 years ago 2014-05-18 07:50:51
mbrochh@gmail.com
Bugfix: Cannot unassign presentation on schedule/edit view
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
symposion/schedule/models.py
Show inline comments
...
 
@@ -79,8 +79,9 @@ class Slot(models.Model):
 
        Unassign the associated content with this slot.
 
        """
 
        if self.content and self.content.slot_id:
 
            self.content.slot = None
 
            self.content.save()
 
            presentation = self.content
 
            presentation.slot = None
 
            presentation.save()
 
    
 
    @property
 
    def content(self):
0 comments (0 inline, 0 general)