diff options
author | Alban Gruin | 2019-08-30 13:59:13 +0200 |
---|---|---|
committer | Alban Gruin | 2019-09-01 13:28:32 +0200 |
commit | 683409424325e7048c802960e81585320904fac1 (patch) | |
tree | e752d9d9d4d24a45653af0bdd413f72618734d2b /admin.py | |
parent | 0ad58a9268130e49c017f13beacb618f466a722f (diff) | |
parent | a85f2fb91d1a4a0e31c41c392e404d7ddbf21109 (diff) |
Merge branch 'ag/parser-ups-2019' into futur
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ class YearAdmin(admin.ModelAdmin): @admin.register(Source) class SourceAdmin(admin.ModelAdmin): - list_display = ("url", "last_update_date",) + list_display = ("url", "metadata", "last_update_date",) @admin.register(Timetable) @@ -75,7 +75,7 @@ class CourseAdmin(admin.ModelAdmin): (None, {"fields": ("name", "type", "source", "groups", "rooms",)}), ("Horaires", {"fields": ("begin", "end",)}), ("Remarques", {"fields": ("notes",)}), - ("Avancé", {"fields": ("celcat_id", "last_update",), + ("Avancé", {"fields": ("celcat_id", "last_update", "buggy",), "classes": ("collapse",)}),) list_display = ("name", "type", "source", "begin", "end",) list_filter = ("type", "source__timetables", "groups",) |