Registry / web-framework / django-organizations

django-organizations

JSON →
library2.6.0pypypiunverified

Django package providing group accounts (organizations) with user invitations and multi-user membership. Supports Django 4.2–6.0 and Python ≥3.10. Current version 2.6.0 (2025). Releases are sporadic but maintained.

pip install django-organizations
INSTALL
IMPORT
SIG · DJANGO-ORGANIZATIO
D
django-organizations
web-frameworkpythonv2.6.0
Install
3.6s avg
Import
Disk
68MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.6.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 68.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.6s · import 0.000s · 69MB
68MB installed
● package 68MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Organization
from organizations.models import Organization

Basic setup: add to INSTALLED_APPS, include URLs, use Organization model.

# settings.py INSTALLED_APPS = [ ... 'organizations', ] # urls.py from django.urls import include, path urlpatterns = [ ... path('organizations/', include('organizations.urls')), ] # models.py (using default abstract models) from organizations.models import Organization, OrganizationUser # Example creation: from django.contrib.auth import get_user_model User = get_user_model() user = User.objects.create_user('alice', password='password') org = Organization.objects.create(name='Acme Inc', slug='acme') org_user = org.add_user(user, is_admin=True)
Debug
Known issues
breakingDropped Python 3.9 support in 2.6.0. Requires Python >=3.10.
fix
Upgrade Python to 3.10 or later.
affects: 2.6.0+
breakingDropped Django 4.1 support in 2.4.0. Requires Django >=4.2.
fix
Upgrade Django to 4.2 or later.
affects: 2.4.0+
deprecatedThe base abstract models (e.g., BaseOrganization) are not meant for direct instantiation. Use the concrete models from organizations.models.
fix
Import Organization, OrganizationUser from organizations.models instead of organizations.base.
affects: all
gotchaThe slug field is unique and auto-generated from name on creation unless explicitly provided. Changing name later does not update slug.
fix
Set slug explicitly if you need a different slug, or update slug manually after name change.
affects: all
Upgrade
Version history
2.6.0latest on PyPI · released Mar 8, 2026
Audit
Dependencies
DjangorequiredRequired; version >=4.2
Agent activity
29 hits · last 30 days
node
26
OpenAI (training)
2
Resources
django-organizations — pip install django-organizations · libregistry