From ca8abf5970dcf9d9c7a01e6fa5e7038c4cf35f61 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 14 Jul 2015 19:11:28 +0200 Subject: [PATCH] admin: add period to script filters --- teleforma/exam/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/exam/admin.py b/teleforma/exam/admin.py index 2334db41..18d4c900 100644 --- a/teleforma/exam/admin.py +++ b/teleforma/exam/admin.py @@ -40,7 +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', 'status'] + list_filter = ['period', 'course__title', 'session', 'type', 'status'] list_display = ['title', 'author_name', 'status'] def author_name(self, instance): -- 2.39.5