diff options
author | Alban Gruin | 2017-09-06 14:30:37 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-06 14:30:37 +0200 |
commit | 773e6e8a82756dae862e730c691c75250a2e4489 (patch) | |
tree | 74763decea8092a7eb47274a141d17066233d335 /admin.py | |
parent | 855ec1fe497b3f80b378c2dbae8cff898b0542fc (diff) |
Disruption du fonctionnement de LastUpdate.
Au lieu de stocker seulement la date de la dernière mise à jour, on
stocke toutes les mises à jour.
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -65,8 +65,7 @@ class CourseAdmin(admin.ModelAdmin): @admin.register(CourseDelta) class CourseDeltaAdmin(admin.ModelAdmin): fieldsets = ( - (None, {"fields": ("course", "update", "operation",)}), - ) + (None, {"fields": ("course", "update", "operation",)}),) list_display = ("course", "update", "operation",) list_filter = ("operation",) ordering = ("update",) |