Django multi-tenancy through Postgres schemas
.. image:: https://img.shields.io/badge/packaging-poetry-purple.svg :alt: Packaging: poetry :target: https://python-poetry.org/
.. image:: https://github.com/lorinkoz/django-pgschemas/workflows/code/badge.svg :alt: Build status :target: https://github.com/lorinkoz/django-pgschemas/actions
.. image:: https://readthedocs.org/projects/django-pgschemas/badge/?version=latest :alt: Documentation status :target: https://django-pgschemas.readthedocs.io/
.. image:: https://coveralls.io/repos/github/lorinkoz/django-pgschemas/badge.svg?branch=master :alt: Code coverage :target: https://coveralls.io/github/lorinkoz/django-pgschemas?branch=master
.. image:: https://badge.fury.io/py/django-pgschemas.svg :alt: PyPi version :target: http://badge.fury.io/py/django-pgschemas
.. image:: https://pepy.tech/badge/django-pgschemas/month :alt: Downloads :target: https://pepy.tech/project/django-pgschemas/
|
This app uses Postgres schemas to support data multi-tenancy in a single
Django project. It is a fork of django-tenants
_ with some conceptual changes:
.. _django-tenants: https://github.com/django-tenants/django-tenants
https://django-pgschemas.readthedocs.io/
make
or make coverage
. The tests for this
project live inside a small django project called sandbox
.django-tenants
_.django-tenant-schemas
_... _django-tenants: https://github.com/django-tenants/django-tenants .. _django-tenant-schemas: https://github.com/bernardopires/django-tenant-schemas