Merge pull request #119 from pydata/fix-duplicate-slot-save-method
Remove duplicate Slot.save method.
This commit is contained in:
commit
6e83588f31
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue