diff options
author | Alban Gruin | 2017-09-07 23:12:57 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-07 23:12:57 +0200 |
commit | 5767fe2b49858dd8174193ffa8c2e8b3fda1fc6c (patch) | |
tree | 5176298f82739e146621f8661bdf4a01f9062b0e /models.py | |
parent | daa35602eeee6b15cea2b4e92a0556de2a1b4905 (diff) |
Utilisation du modèle Year où nécessaire
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ class Timetable(models.Model): slug = models.SlugField(max_length=64, unique=True, default="") def __str__(self): - return self.name + return self.year.name + " " + self.name class Meta: |