aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authorAlban Gruin2017-09-06 14:30:37 +0200
committerAlban Gruin2017-09-06 14:30:37 +0200
commit773e6e8a82756dae862e730c691c75250a2e4489 (patch)
tree74763decea8092a7eb47274a141d17066233d335 /admin.py
parent855ec1fe497b3f80b378c2dbae8cff898b0542fc (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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin.py b/admin.py
index 156eef1..9155924 100644
--- a/admin.py
+++ b/admin.py
@@ -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",)