django-tenants/django-tenants
Django tenants using PostgreSQL Schemas observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 69.0
- age_days: 4103
- days_rel: 28
- days_push: 9
- n_releases_24m: 7
Adoption not part of the score
1882 stars · 402 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Django app that adds multitenancy support to Django projects using PostgreSQL schemas, so multiple customers can share one application instance and database. Tenants are identified by hostname and routed to their own schema with shared and tenant-specific data support.
Use cases
- build a multi-tenant SaaS with Django
- serve multiple customers from one Django instance
- isolate tenant data using PostgreSQL schemas
- route requests to tenants by subdomain
- share some data across tenants while keeping tenant-specific tables separate
- avoid running separate database copies per customer
When to choose
- you use Django with PostgreSQL and need schema-based multitenancy
- you want minimal code changes to support multiple tenants
- you want a balance of isolation and performance with a single database
When to avoid
- you don't use PostgreSQL
- you need database-per-tenant isolation
- your stack isn't Django
Facets
library · maturity active
middleware routing database orm web-development backend databases developer-tools python django multitenancy saas postgresql-schemas host-based-tenants web-server
2 sources
- readme: https://github.com/django-tenants/django-tenants · fetched 2026-08-28 · 67d92814d3d9
- registry_pypi: https://pypi.org/pypi/django-tenants/json · fetched 2026-08-29 · 2eee603b53fa
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| django-tenants/django-tenants | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="django-tenants/django-tenants")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem