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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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