Skip to main content

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

django-multi-tenants-0.1.3.3.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_multi_tenants-0.1.3.3-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

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

Hashes for django-multi-tenants-0.1.3.3.tar.gz
Algorithm Hash digest
SHA256 1f4b3a10739faf1aef70152ccce1afb3e835aa01cbfb560ccdaf1594e4449a0a
MD5 155b0e0dd32ae807e8fc301ed52888cb
BLAKE2b-256 62c45721df3c7b56e44a0bec8bc123aa76a408fcec9630a97bc3999c88abffda

See more details on using hashes here.

File details

Details for the file django_multi_tenants-0.1.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_multi_tenants-0.1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 76e5f52f44d7c1479f52570ac4da298b28cbcc363d4e0fc4ce5744683fc51c18
MD5 a05396322c634fa54dc4d820130cc7a5
BLAKE2b-256 fe80de71133dd9332f9fca4812a55313b2ebfe252768ad7962fe82e7f33ce018

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page