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_APPS
describe the applications whose migration is carried out in the public scheme.TENANT_APPS
describe the applications whose migration is carried out in the main tenant scheme.TENANT_DETAIL_APPS
describe 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
Close
Hashes for django-multi-tenants-0.1.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871a078c1fc12bb459606ead3a49de2f0e222e8fb02038b9720585aa320f696d |
|
MD5 | a6adbfeacdc852931df48587b4282ddf |
|
BLAKE2b-256 | 9d5538f64547466a3e8271f75e24c9a4700bd1e68705ade8320a69925f5376e1 |
Close
Hashes for django_multi_tenants-0.1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eae175e98b4d6f607220e177cb9ab6002deb474aa4de1cb7d6c356bb0069695 |
|
MD5 | aa066143766e5438f24d669eca552d97 |
|
BLAKE2b-256 | 12941a676efaff349ab652d954f3982da708e19d890a13502ca319ec4df40137 |