I want to get a list of all Django auth user with a specific permission group, something like this:
user_dict = {
\'queryset\': User.objects.filter(permi
I think for group permissions, permissions are stored against groups, and then users have groups linked to them. So you can just resolve the user - groups relation.
e.g.
518$ python manage.py shell
(InteractiveConsole)
>>> from django.contrib.auth.models import User, Group
>>> User.objects.filter(groups__name='monkeys')
[, ]