From ddc3553656096e8cfaa5f4dd6d88783b02c697a4 Mon Sep 17 00:00:00 2001 From: Martey Dodoo Date: Thu, 31 Dec 2015 12:35:22 -0500 Subject: [PATCH] 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. --- symposion/schedule/models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/symposion/schedule/models.py b/symposion/schedule/models.py index da1a649e..e471a522 100644 --- a/symposion/schedule/models.py +++ b/symposion/schedule/models.py @@ -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