django-organizations
Group accounts for Django
What it is and what it does
Django Organizations is a Django app that decouples user identity from organizational membership and account structures. It provides three core models—Organization, OrganizationUser, and OrganizationOwner—that let you build multi-user groups, team accounts, and subscription-based structures on top of Django's built-in user model without replacing it. Users can belong to and own multiple organizations simultaneously.
The package includes ready-to-use views, URL routing, and invitation/registration backends that work for common scenarios and can be extended for custom requirements. It works with both django.contrib.auth and custom user models, requires only django and django-extensions as runtime dependencies, and is designed to be backend-agnostic for authentication, registration, and messaging. The codebase is actively maintained, tested against current Django and Python versions, and carries no known security vulnerabilities.
Use it for:
- Build a SaaS platform where each customer is an organization with multiple team members and subscription management.
- Add team/group functionality to an existing Django app so users can collaborate within named groups.
- Implement role-based access control where users have different permissions within each organization they belong to.
- Create a multi-tenant application where organizations are isolated business units with their own members and settings.
- Set up invitation workflows so organization owners can add team members without manual user account creation.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds multi-user group and account management to Django, letting you separate individual user identity from organizations, subscriptions, and team structures.
Yes. Django Organizations is a mature, actively maintained library (Production/Stable status, 1363 GitHub stars, released 42 days ago) that solves a common Django problem—multi-user groups and account separation—with low install friction and no security vulnerabilities. Install it if you need to add team or subscription account structures to a Django project and want a tested, extensible foundation rather than building from scratch.
Install
django-organizations on PyPI
pip
pip install django-organizationsuv
uv add django-organizationspoetry
poetry add django-organizationsInstalling django-organizations
Before you install
Low install friction; ships as a pure Python wheel. Requires django and django-extensions as runtime dependencies. Actively maintained with a recent release (42 days old) and passing tests against Django 4.2, 5.2, and 6.0 across Python 3.10–3.14.
License in practice
BSD License (permissive). You may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install django-organizations
# In Django settings.py
INSTALLED_APPS = [
'django.contrib.auth',
'organizations',
]
# In urls.py
from organizations.backends import invitation_backend
urlpatterns = [
path('accounts/', include('organizations.urls')),
path('invitations/', include(invitation_backend().get_urls())),
]
# In code
from organizations.utils import create_organization
org = create_organization(user, "My Org")
org.is_member(user) # True
Requires Django 4.2+ and Python 3.10+. By default uses django-extensions for AutoSlugField; you must install django-extensions or configure an alternative slug field provider.
Verify before relying
- Whether the invitation and registration backends work out-of-the-box for your specific authentication setup without customization.
- Performance characteristics when managing organizations with large numbers of users or complex permission hierarchies.
Package facts
| License | BSD License (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — django-extensions, django |
| Maintenance | actively maintained — 42 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,805/month — #13,705 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: django_organizations-2.7.0-py3-none-any.whl
Tags
More Dynamic Content packages
MarkupSafe provides a text object that escapes…
permissive · top 100 on PyPI
Jinja2Jinja2 is a templating engine that renders…
permissive · top 100 on PyPI
soupsieveSoupsieve is a CSS selector library designed to…
permissive · top 100 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
FlaskFlask is a lightweight WSGI web application…
permissive · top 1,000 on PyPI
MakoMako compiles Python-embedded templates into…
permissive · top 1,000 on PyPI
allianceauthAlliance Auth is a Django-based authentication…
copyleft · top 15,000 on PyPI
django-invitationsProvides a generic invitation system for Django…
copyleft · top 15,000 on PyPI
django-prbacImplements parameterized role-based access…
unclear · top 15,000 on PyPI
django-registrationProvides user registration workflows for Django…
permissive · top 15,000 on PyPI
django-autoslugProvides a Django model field that…
copyleft · top 15,000 on PyPI
c7n-orgRuns Cloud Custodian policies in parallel…
permissive · top 5,000 on PyPI
django-allauthProvides integrated local and social…
permissive · top 5,000 on PyPI
dj-materialized-viewsManages PostgreSQL materialized views through a…
permissive · top 15,000 on PyPI
pydomoPython SDK for automating Domo instance…
permissive · top 15,000 on PyPI
djoserProvides Django REST Framework views for user…
permissive · top 15,000 on PyPI