diff --git a/django/contrib/auth/admin.py b/django/contrib/auth/admin.py index 7fc723f475d..0f25aced7c2 100644 --- a/django/contrib/auth/admin.py +++ b/django/contrib/auth/admin.py @@ -56,7 +56,7 @@ class UserAdmin(admin.ModelAdmin): list_filter = ('is_staff', 'is_superuser', 'is_active', 'groups') search_fields = ('username', 'first_name', 'last_name', 'email') ordering = ('username',) - filter_horizontal = ('user_permissions',) + filter_horizontal = ('groups', 'user_permissions',) def get_fieldsets(self, request, obj=None): if not obj: