From 7c9c86b184eea7c5935863ef0b04b0dc5c4136d2 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 1 Dec 2017 10:58:46 +0100 Subject: [PATCH] Add more user filters --- teleforma/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teleforma/admin.py b/teleforma/admin.py index c02684d0..b1e29ebb 100644 --- a/teleforma/admin.py +++ b/teleforma/admin.py @@ -40,6 +40,7 @@ class UserProfileAdmin(UserAdmin): inlines = [ProfessorProfileInline, AuditorProfileInline] add_form = UserCreationForm form = UserChangeForm + list_filter = ['is_staff', 'is_superuser', 'is_active', 'date_joined'] class TrainingAdmin(admin.ModelAdmin): model = Training -- 2.39.5