aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
authorAlban Gruin2017-09-09 19:39:36 +0200
committerAlban Gruin2017-09-09 19:39:36 +0200
commitb158b94ca7f8447d60166fbfc6886562bb839965 (patch)
tree31c81ed4beced4d93efffde82abaedc41c621aff /models.py
parent35613677472450a066967795cad63f8f70c2bcc4 (diff)
Qu’ai-je fait ?
Diffstat (limited to 'models.py')
-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"