aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--models.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/models.py b/models.py
index 061a213..c263510 100644
--- a/models.py
+++ b/models.py
@@ -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"