aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
authorAlban Gruin2017-09-09 11:19:02 +0200
committerAlban Gruin2017-09-09 11:19:02 +0200
commiteb050fb7d00351bcac8048f75abd703e68783831 (patch)
treef79d6402674c8dc71420ecfc79b8b4235dd9c292 /models.py
parent5eae1571d2e2a446958c9576b6dbe4a59c488e60 (diff)
Rendu du contenu du flux atom. Il est loin d’être parfait par contre.
Diffstat (limited to 'models.py')
-rw-r--r--models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models.py b/models.py
index 7609e7b..8fbd1da 100644
--- a/models.py
+++ b/models.py
@@ -62,7 +62,7 @@ class LastUpdate(models.Model):
updated_at = models.DateTimeField(verbose_name="date de publication", null=True)
def __str__(self):
- return "{0}, semaine {1} de {2}".format(self.timetable.name, self.week, self.year)
+ return "{0}, semaine {1} de {2}".format(self.timetable, self.week, self.year)
class Meta: