A Django app to allow multi-tenancy.
Project description
django-omnitenant
django-omnitenant is a Django app that enables multi-tenancy with DB-level isolation and schema-level isolation.
Detailed documentation is in the "docs" directory.
Quick start
- Add "django_omnitenant" to your
INSTALLED_APPSsetting like this:
INSTALLED_APPS = [
...,
"django_omnitenant",
]
**Note:** Place django_omnitenant at the last in installed apps so that it will reregister all the default only apps to show on default db
**Note:** Make sure `DEFAULT_TENANT_NAME` is postgre schema name complaint
**Note:** Need to set the `DEFAULT_HOST`
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_omnitenant-0.1.2.tar.gz
(19.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_omnitenant-0.1.2.tar.gz.
File metadata
- Download URL: django_omnitenant-0.1.2.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cbe3bfa239e807ebb83da11241e7cb369a4f4ef116aa068a7a4859433a43ce3
|
|
| MD5 |
a6cb2365734c38c4df87a182282b022f
|
|
| BLAKE2b-256 |
f8873a365c6ca7b389143df847bf7b899a8580aa6fe6ca30a3393c58c2b7159e
|
File details
Details for the file django_omnitenant-0.1.2-py3-none-any.whl.
File metadata
- Download URL: django_omnitenant-0.1.2-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ee18ef01b9ebff855718e7bc236e1030b00dda98e8694bede724d6c46e88a9f
|
|
| MD5 |
92dbcad2ec04d94c83b4434b87e4f086
|
|
| BLAKE2b-256 |
b6eb759cc520a46c01372f42fcce8a2fbdfae2aa474528b68543e5779fb5db2e
|