From 4772728f3c33a46ae0a5bca361ff851bea257049 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 14 Jul 2015 14:30:52 +0200 Subject: [PATCH] add admin script list filters --- teleforma/exam/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teleforma/exam/admin.py b/teleforma/exam/admin.py index 700adfb2..1f2f46d1 100644 --- a/teleforma/exam/admin.py +++ b/teleforma/exam/admin.py @@ -40,6 +40,7 @@ class ScriptAdmin(admin.ModelAdmin): search_fields = ['author__username', 'author__last_name', 'corrector__username', 'corrector__last_name', 'course__title', 'course__code'] readonly_fields = ['date_added','uuid','box_uuid','sha1','mime_type'] + list_filter = ['course__title', 'session', 'type'] list_display = ['title', 'author_name'] def author_name(self, instance): -- 2.39.5