aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-11-16 14:35:19 +0100
committerAlban Gruin2017-11-16 14:35:19 +0100
commit9262be98897f29e52f489e3353cb752d9b9d8129 (patch)
treef9f3c2565c982a005857c671c3485e45cd477975
parentcc64acb64af30771c523a1e0794f0976df14769b (diff)
Revert "Par défaut, la date de dernière mise à jour des emplois du temps est"
This reverts commit 0c2937bab77280beaabe7d53a77c848848845950.
-rw-r--r--models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/models.py b/models.py
index 4b86961..db81d5b 100644
--- a/models.py
+++ b/models.py
@@ -57,8 +57,7 @@ class Timetable(SlugModel):
url = models.URLField(max_length=255, verbose_name="URL")
slug = models.SlugField(max_length=64, default="")
- last_update_date = models.DateTimeField(verbose_name="dernière mise à jour Celcat",
- null=True, default=timezone.now)
+ last_update_date = models.DateTimeField(verbose_name="dernière mise à jour Celcat", null=True)
def __str__(self):
return self.year.name + " " + self.name