Multi tenant support for Django using PostgreSQL schemas.
Project description
django-multi-tenant
This project is based on django-tenant-schemas.readthedocs.io. All our thanks to its creators.
This is a customisation we need in order to have details of the tenants' applications.
There are three variables that we need to declare in the settings.py file to describe the application schema:
SHARED_APPSdescribe the applications whose migration is carried out in the public scheme.TENANT_APPSdescribe the applications whose migration is carried out in the main tenant scheme.TENANT_DETAIL_APPSdescribe the applications whose migration is carried out in the detailed tenant scheme. The detailed tenant scheme is associated with a single main tenant. For example, if you want to separate information between years, such as accounting software.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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-multi-tenants-0.1.3.3.tar.gz.
File metadata
- Download URL: django-multi-tenants-0.1.3.3.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f4b3a10739faf1aef70152ccce1afb3e835aa01cbfb560ccdaf1594e4449a0a
|
|
| MD5 |
155b0e0dd32ae807e8fc301ed52888cb
|
|
| BLAKE2b-256 |
62c45721df3c7b56e44a0bec8bc123aa76a408fcec9630a97bc3999c88abffda
|
File details
Details for the file django_multi_tenants-0.1.3.3-py3-none-any.whl.
File metadata
- Download URL: django_multi_tenants-0.1.3.3-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76e5f52f44d7c1479f52570ac4da298b28cbcc363d4e0fc4ce5744683fc51c18
|
|
| MD5 |
a05396322c634fa54dc4d820130cc7a5
|
|
| BLAKE2b-256 |
fe80de71133dd9332f9fca4812a55313b2ebfe252768ad7962fe82e7f33ce018
|