aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'models.py')
-rw-r--r--models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/models.py b/models.py
index 61e7f6c..01819d6 100644
--- a/models.py
+++ b/models.py
@@ -51,6 +51,8 @@ class LastUpdate(models.Model):
year = models.IntegerField(verbose_name="année")
date = models.DateTimeField(verbose_name="date de mise à jour")
+ 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)