Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Django Groot

Project description


Django Groot

An alternative admin interface for managing group permissions with django-guardian. Groot requires django-guardian for maintaining permissions, however Groot only focuses on groups for object permissions - per user object level permissions aren’t allowed for simplicity.


Using pip:

$ pip install django-groot

Follow the instructions for installing django-guardian if you haven’t already.

Edit your Django project’s settings module, and add groot:

    # ...


Add GrootAdminMixin to the admin class you want Groot to be used on:

from django.contrib import admin
from groot.admin import GrootAdminMixin

from .models import Post

class PostAdmin(GrootAdminMixin, admin.ModelAdmin):

To limit the permissions which can be edited, add a groot_permissions attribute:

class PostAdmin(GrootAdminMixin, admin.ModelAdmin):
    groot_permissions = ('change_post', 'delete_post')

Project details

Download files

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

Files for django-groot, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_groot-0.1.1-py2.py3-none-any.whl (10.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-groot-0.1.1.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page