FindSoftware

django-guardian

Extra authentication backend for Django that grants and checks permissions on individual model objects.

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.

Identity

Status
Active
Maintainer
The django-guardian Contributors5
Maintained by
Community
First release
20106

Rendering and deploy

Install with
uv3

Releases

Current major version
37
Last release
2026-10-207

Adoption

GitHub stars
3,9212
Contributors
1658
Dependent repositories
3,5889
Dependent packages
369

Why these figures do not compare

Sources

  1. 2026-11-04: links, Built on
    django-guardian.readthedocs.io/en/stable/
  2. 2026-11-04: links, Written in, GitHub stars
    api.github.com/repos/django-guardian/django-guardian
  3. 2026-11-04: links, Categories, Install with
    github.com/django-guardian/django-guardian/blob/main/README.md
  4. 2026-11-04: Runtime, Minimum runtime, License
    github.com/django-guardian/django-guardian/blob/3.5.2/pyproject.toml
  5. 2026-11-04: Maintainer, License, License model
    github.com/django-guardian/django-guardian/blob/main/LICENSE
  6. 2026-11-04: First release
    pypi.org/pypi/django-guardian/json
  7. 2026-11-04: Current major version, Last release
    api.github.com/repos/django-guardian/django-guardian/releases/latest
  8. 2026-11-04: Contributors
    api.github.com/repos/django-guardian/django-guardian/contributors
  9. 2026-11-04: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-guardian

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON