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.0.tar.gz (182.7 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.0-py3-none-any.whl (87.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_pgschemas-1.3.0.tar.gz
  • Upload date:
  • Size: 182.7 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.0.tar.gz
Algorithm Hash digest
SHA256 97b5fc345cadb85f89b54cf7fb3595a405eda69acc8be69eb7d64ae67a5c9adb
MD5 1535aee0491ccee2626569a23c259d61
BLAKE2b-256 5cd2f136172e51a143e1c7302c7fa13b5860786e4574efbd085debd2af358dae

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_pgschemas-1.3.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_pgschemas-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1e5697a140901d19e1bceab0e05303e7194214158131a64aee8e7ef3fb846a5
MD5 8b395fa241c930985dd3aa92f9db227d
BLAKE2b-256 0206c72d191c6f6f49c758ed940304a9ef5b443ef91d7e9598f99b57db11fe7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_pgschemas-1.3.0-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