diff options
author | Alban Gruin | 2017-11-16 14:38:24 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-16 14:38:24 +0100 |
commit | 98d62baa698a69b031f28a27efc76a47b7456c8a (patch) | |
tree | 5a679a6aab0a16ddf8767290f6914f40ba5714f2 /models.py | |
parent | 9262be98897f29e52f489e3353cb752d9b9d8129 (diff) |
Mettre une valeur de dernière mise à jour dans l’interface
d’administration n’est plus obligatoire.
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -57,7 +57,8 @@ 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) + last_update_date = models.DateTimeField(verbose_name="dernière mise à jour Celcat", + null=True, blank=True) def __str__(self): return self.year.name + " " + self.name |