From: Guillaume Pellerin Date: Tue, 21 Jul 2015 21:54:09 +0000 (+0200) Subject: add more admin filter X-Git-Tag: 1.1~197 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3d094e3e990c991d89067e135f4f0dae987d6736;p=teleforma.git add more admin filter --- diff --git a/teleforma/admin.py b/teleforma/admin.py index b856af45..fbf3caf9 100644 --- a/teleforma/admin.py +++ b/teleforma/admin.py @@ -131,7 +131,7 @@ class DocumentAdmin(admin.ModelAdmin): exclude = ['readers'] filter_horizontal = ['course_type'] search_fields = ['course__code', 'course__title'] - list_filter = ('period', 'date_added') + list_filter = ('course', 'period', 'date_added') class MediaAdmin(admin.ModelAdmin): exclude = ['readers']