
django-guardian
Extra authentication backend for Django that grants and checks permissions on individual model objects.
django-guardian.readthedocs.io/en/stable/repositorydocs
django-guardian is an extra authentication backend that stores permissions on individual model objects and answers checks for them, so a user can hold a permission on one record without holding it on the model. It builds on the object-level permission facilities that Django’s authorization system provides. Projects add it to the authentication backends next to Django’s default model backend and run the migrations that create its tables.
Worth knowing
By default Guardian relates permissions to any Django model through generic foreign keys, which has performance implications. The docs point new projects to their performance tuning and configuration pages.
Sources
- 2026-11-04: links, Built on
django-guardian.readthedocs.io/en/stable/ - 2026-11-04: links, Written in, GitHub stars
api.github.com/repos/django-guardian/django-guardian - 2026-11-04: links, Categories, Install with
github.com/django-guardian/django-guardian/blob/main/README.md - 2026-11-04: Runtime, Minimum runtime, License
github.com/django-guardian/django-guardian/blob/3.5.2/pyproject.toml - 2026-11-04: Maintainer, License, License model
github.com/django-guardian/django-guardian/blob/main/LICENSE - 2026-11-04: First release
pypi.org/pypi/django-guardian/json - 2026-11-04: Current major version, Last release
api.github.com/repos/django-guardian/django-guardian/releases/latest - 2026-11-04: Contributors
api.github.com/repos/django-guardian/django-guardian/contributors - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-guardian