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.2.tar.gz (186.5 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.2-py3-none-any.whl (88.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_pgschemas-1.3.2.tar.gz
  • Upload date:
  • Size: 186.5 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.2.tar.gz
Algorithm Hash digest
SHA256 9db2ab0f3276e490c2f6c93cb38818b9cbd1587642f13b7a94470877d196316f
MD5 d3e3dbcff7f452833e0c1d0f9469339b
BLAKE2b-256 07d74dd8a01d128802c08930dd76cb6a83ea7bd0fdbfb45be1895232d66fda5f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for django_pgschemas-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce151382037f18e9dc043d1623167dda4461daa5461213763f72d18ace9b8d1b
MD5 d8bedeed8e0ebbaa6a088a6539467458
BLAKE2b-256 273df33cb66dd56058db7e2bd4c2febcca0865b0cb6acbd67dec74ff37220ebf

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

1.3.2 This release

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.16.0

2 files

0.15.2

2 files

0.15.1

2 files

0.15.0

2 files

0.14.1

2 files

0.14.0

2 files

0.13.1

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.1

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page