diff options
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -50,9 +50,9 @@ class LastUpdate(models.Model): class Meta: - unique_together = ("timetable", "week", "year",) - verbose_name = "dernière mise à jour" - verbose_name_plural = "dernières mises à jour" + unique_together = ("timetable", "week", "year", "date",) + verbose_name = "mise à jour" + verbose_name_plural = "mises à jour" class GroupManager(Manager): @@ -183,8 +183,7 @@ class CourseDelta(models.Model): DELETED = 1 OPERATION_CHOICE = ( (ADDED, "Ajouté"), - (DELETED, "Supprimé"), - ) + (DELETED, "Supprimé"),) course = models.ForeignKey(Course, verbose_name="cours") update = models.ForeignKey(LastUpdate, verbose_name="mise à jour") |