Changeset - ddc355365609
[Not reviewed]
0 1 0
Martey Dodoo - 8 years ago 2015-12-31 17:35:22
martey@mobolic.com
Remove duplicate Slot.save method.

Remove "save" method in Slot model since #107 added another "save"
method. This fixes the automated test failures in Travis CI.
1 file changed with 0 insertions and 4 deletions:
0 comments (0 inline, 0 general)
symposion/schedule/models.py
Show inline comments
...
 
@@ -90,10 +90,6 @@ class Slot(models.Model):
 
    content_override = models.TextField(blank=True, verbose_name=_("Content override"))
 
    content_override_html = models.TextField(blank=True)
 

	
 
    def save(self, *args, **kwargs):
 
        self.content_override_html = parse(self.content_override)
 
        return super(Slot, self).save(*args, **kwargs)
 

	
 
    def assign(self, content):
 
        """
 
        Assign the given content to this slot and if a previous slot content
0 comments (0 inline, 0 general)