diff options
author | luxagraf <sng@luxagraf.net> | 2016-03-09 10:42:12 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-03-09 10:42:12 -0500 |
commit | d8dc66e53ab94add45e61d38940a2c27baf34194 (patch) | |
tree | 26472365a2de0b11d5fe0f74c1c65c3289a58c31 /app/jrnl | |
parent | dc064ce86fd9605fb853b47626850e3d2732af1a (diff) |
added actual save function to EntryTitleSong
Diffstat (limited to 'app/jrnl')
-rw-r--r-- | app/jrnl/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/jrnl/models.py b/app/jrnl/models.py index 5c2a11d..d2e9248 100644 --- a/app/jrnl/models.py +++ b/app/jrnl/models.py @@ -193,6 +193,7 @@ class EntryTitleSong(models.Model): if not self.id and not self.pub_date: self.pub_date = datetime.datetime.now() self.slug = slugify(self.title) + super(EntryTitleSong, self).save() class EntryAside(models.Model): |