Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

allow admins to filter users by group, closes #16835 #337

Closed
wants to merge 2 commits into from

2 participants

Dan Loewenherz Florian Apolloner
Dan Loewenherz
dlo commented

No description provided.

Florian Apolloner
Owner

Please add a short note to the release docs.

Dan Loewenherz

How does this look?

Florian Apolloner
Owner

Fixed in 69ff1b7

Florian Apolloner apollo13 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 7, 2012
  1. Dan Loewenherz
Commits on Sep 18, 2012
  1. Dan Loewenherz
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 1 deletion.
  1. +1 −1  django/contrib/auth/admin.py
  2. +2 −0  docs/releases/1.5.txt
2  django/contrib/auth/admin.py
View
@@ -54,7 +54,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', 'is_active')
+ list_filter = ('is_staff', 'is_superuser', 'is_active', 'groups')
search_fields = ('username', 'first_name', 'last_name', 'email')
ordering = ('username',)
filter_horizontal = ('user_permissions',)
2  docs/releases/1.5.txt
View
@@ -116,6 +116,8 @@ Django 1.5 also includes several smaller improvements worth noting:
* The :ref:`receiver <connecting-receiver-functions>` decorator is now able to
connect to more than one signal by supplying a list of signals.
+* In the admin, you can now filter users by groups which they are members of.
+
* :meth:`QuerySet.bulk_create()
<django.db.models.query.QuerySet.bulk_create>` now has a batch_size
argument. By default the batch_size is unlimited except for SQLite where
Something went wrong with that request. Please try again.