Skip to main content

Edit users in group from the Group add and edit pages

Project description

Build Status Coverage Status PyPI version

Edit users in group from the Group add and edit pages.

Credit goes to this Stack Overflow answer


Works with Django version 1.8 to 3.1.

Tested with Django-supported Python versions.

Install with:

pip install django-groupadmin-users


Add ‘’groupadmin_users’’ to INSTALLED_APPS after ‘’django.contrib.auth’’. That’s it.

Alternatively, don’t add ‘’groupadmin_users’’ to INSTALLED_APPS, but use and further customize this code:

from django.contrib import admin
from django.contrib.auth.models import Group

from groupadmin_users.forms import GroupAdminForm

# Unregister the original Group admin.

# Create a new Group admin.
class GroupAdmin(admin.ModelAdmin):
    # Use our custom form.
    form = GroupAdminForm
    # Filter permissions horizontal as well.
    filter_horizontal = ['permissions']

# Register the new Group ModelAdmin., GroupAdmin)


Example image from Stack Overflow answer:

Example image

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-groupadmin-users-0.3.4.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page