]> git.parisson.com Git - teleforma.git/commitdiff
Add filters
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 24 Jan 2017 20:58:01 +0000 (21:58 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 24 Jan 2017 20:58:01 +0000 (21:58 +0100)
teleforma/exam/admin.py

index f3660ebca9e9bfcac3f9e07c63020d665da585c9..ca18a69ba763eb49fedbf9aa6bce26ff17dce3eb 100644 (file)
@@ -35,7 +35,8 @@ 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 = ['period', 'course__title', 'session', 'type', 'status']
+    list_filter = ['period', 'course__title', 'session', 'type', 'status',
+                    'date_submitted', 'date_marked', 'date_rejected']
     list_display = ['title', 'author_name', 'file_size', 'status']
     actions = ['force_resubmit',]