diff options
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -161,6 +161,8 @@ class Course(models.Model): begin = models.DateTimeField(verbose_name="début du cours", db_index=True) end = models.DateTimeField(verbose_name="fin du cours") + last_update = models.DateTimeField(verbose_name="dernière mise à jour") + def __str__(self): return self.name |