diff options
-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" |