django-tenant-schemas
django-tenant-schemas copied to clipboard
Tenant support for Django using PostgreSQL schemas.
I submitted a PR for this on Django(https://github.com/django/django/pull/8726), although it did not pass tests, it encapsulates the essence of a possible solution to this inconsistency.
Is there a way to retrieve the tenant information in post_save event?
Hello, Django's implementation of testserver does a 'migrate' which of course doesn't work with django-tenant-schemas since we're supposed to be doing 'migrate_schemas'. It gives that error message "CommandError: migrate has...
When running `python manage.py test tenant_schemas` getting the following ImportError ` Creating test database for alias 'default'... EEEEEEE ` ` ERROR: tenant_schemas.tests.test_tenants (unittest.loader.ModuleImportFailure) ImportError: Failed to import test module: tenant_schemas.tests.test_tenants...
I have discovered an unusual problem -- when pybbm is integrated with a project using tenant-schemas, pybbm:0004 migration fails with the error `relation "pybb_category_slug_7344317c_like" already exists` I figured out that...
Hi! I am very new to tenant-schemas and also to Django and I tried it today and it is perfect for my problem. But i have a question: Can I...
Previously we were running our application on MySQL, everything works fine (i.e constraints like field uniqueness). Then we migrated to Multitenant since our client was getting larger, after migrating all...
This is not an issue but a question. We are considering using this application for multitenancy in a new software that we are starting. In our use case we need...
I have a user table and an organization table in the public schema. We do not want to use the part of the URL to define the schema but a...
Hello guys, I have been working on a djnago project using djnago-tenant-schemas and I want to add two fields to a predefined model. So anyone of you knows how to...