Permalink
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/auth/admin.py
View
2 django/contrib/auth/admin.py
@@ -27,7 +27,7 @@ class UserAdmin(admin.ModelAdmin):
add_form = UserCreationForm
change_password_form = AdminPasswordChangeForm
list_display = ('username', 'email', 'first_name', 'last_name', 'is_staff')
- list_filter = ('is_staff', 'is_superuser')
+ list_filter = ('is_staff', 'is_superuser', 'is_active')
search_fields = ('username', 'first_name', 'last_name', 'email')
ordering = ('username',)
filter_horizontal = ('user_permissions',)

0 comments on commit 35a1f22

Please sign in to comment.