diff options
author | Alban Gruin | 2017-09-09 19:39:36 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-09 19:39:36 +0200 |
commit | b158b94ca7f8447d60166fbfc6886562bb839965 (patch) | |
tree | 31c81ed4beced4d93efffde82abaedc41c621aff /models.py | |
parent | 35613677472450a066967795cad63f8f70c2bcc4 (diff) |
Qu’ai-je fait ?
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -40,12 +40,6 @@ class Year(SlugModel): def __str__(self): return self.name - def save(self): - if not self.slug: - self.slug = slugify(self.name) - - super(Year, self).save() - class Meta: verbose_name = "année" |