django users and groups - show group membership in admin?

django users and groups - show group membership in admin?

The django admin's User management gives us easy access to setting a User's group allegiances via the list for picking the Groups. This is the ManyToMany relationship default widget for assignment. And for the most part that's nice for User creation from the get go.

However, say I have a huge number of users and groups...I'd like the chance to view and manage group membership by clicking on the Group in the admin and see all the members in a similar picker (or via the horizontal widget).

Is there a builtin django method/trick to show ManyToMany relations in "reverse?"

Setting group assignment is fine from the User adminform on User creation. But this is can be big pain to find and manage once users and groups are well established.

I guess the workaround is to make my own view to show group members, I just wanted to see if there was some trick I could do with inlines or something in the admin.

How to combine 2 or more querysets in a Django view?


Can I access constants in from templates in Django?
Try to use this snippet.

Updating live server from VCS
It's customisation example of contrib.auth app admin part..
Django - Custom virtual model field with companion stored field [closed]

What is the best UI for selecting tags from a list of existing tags?

96 out of 100 based on 56 user ratings 306 reviews