Skip to main content

django-pgschemas

Build status Documentation status Code coverage PyPi version Downloads

This package uses Postgres schemas to support data multi-tenancy in a single Django project. It is a fork of django-tenants with some conceptual changes:

  • There are static tenants and dynamic tenants. Static tenants can have their own apps and urlconf.
  • Tenants can be routed via:
    • URL using subdomain or subfolder on shared subdomain
    • Session
    • Headers
  • Public schema should not be used for storing the main site data, but the true shared data across all tenants. Table "overriding" via search path is not encouraged.
  • Management commands can be run on multiple schemas via wildcards, either sequentially or in parallel using multithreading.

Documentation

https://django-pgschemas.readthedocs.io/

Contributing

See CONTRIBUTING.md for details on how to contribute to this project.

Credits

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_pgschemas-1.3.1.tar.gz (186.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_pgschemas-1.3.1-py3-none-any.whl (88.5 kB view details)

Uploaded Python 3

File details

Details for the file django_pgschemas-1.3.1.tar.gz.

File metadata

  • Download URL: django_pgschemas-1.3.1.tar.gz
  • Upload date:
  • Size: 186.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for django_pgschemas-1.3.1.tar.gz
Algorithm Hash digest
SHA256 794d188db113fb140eca57b57793aafdd0114ec907440dba6b68cd19d5972ac4
MD5 adba593f4e6919011e6f26805c213c2d
BLAKE2b-256 c5db2583770d2b88ab19281adfbb9581262c52c00339d24583cdc5b9e2f2996d

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_pgschemas-1.3.1.tar.gz:

Publisher: deploy.yaml on lorinkoz/django-pgschemas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_pgschemas-1.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_pgschemas-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2c52d480822d03f7189a41037769a01c49095fd356724955189e68c3e30fe0f
MD5 665d1a3396acee6baea32976fd638498
BLAKE2b-256 2199ea62b021f4e6d6e5c6cafe27cf0298fb1a2ca0cf28b02c8017e22ada9bc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_pgschemas-1.3.1-py3-none-any.whl:

Publisher: deploy.yaml on lorinkoz/django-pgschemas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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