skillfed

django-organizations

Group accounts for Django

django-organizations v2.7.0 88.8K downloads/30d#13,705 on PyPI1,363
Permissive license BSD License Active released

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-organizations

uv

uv add django-organizations

poetry

poetry add django-organizations

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPython

Tags

django multi-user groupsdjango organization managementdjango team accountsdjango user groupsdjango subscription accountsdjango multi-tenant groups
django-appmulti-tenantteam-management

More Dynamic Content packages