django-tenant-schemas
django-tenant-schemas copied to clipboard
Tenant support for Django using PostgreSQL schemas.
Hi all! My `tenants` table looks like this - ```` | name | schema_name | domain_url | |----------|-------------|-------------------| | Tenant 1 | tenant1 | tenant1.localhost | | Tenant 2 |...
Actually, I need to specify a tenant name. I want to execute a script that populates some models data for **all** tenants. No just one.
The installation guide states that this plugin should use the "Public" schema for the "Default Client Schema". Is there a way to change the schema used by the plugin to...
Hello, I have a problem with django-tenants. I am still learning to program, so it is possible that I have made a beginner's mistake somewhere. I will explain what I...
Connection pooling would be great!
It is possible to wrap entire methods with @contextmanager schema_context ?
This PR allow to use Django 4.2 to 5.1. A test was added to prove the need of get_sequences (will solve #567) Also there is the need to take care...
Hi. Is it possible to add support for Django 5.2? Currently the latest version valid is Django 5.1.8 but not all elements works eg. test does not work at all.
- When running migrate_schemas command that applies a migration to change the primary key field of a model from `AutoField` to `BigAutoField`, we get the following error: `NotImplementedError: subclasses of...
This PR fixes issue raised from upgrading social-auth-app-django library to 5.4.0 version after Django 4.2 upgrade. Referenced from: https://github.com/bernardopires/django-tenant-schemas/pull/567 ``` Applying social_django.0011_alter_id_fields File "/Users/barkhamaheshwari/.virtualenvs/django4.2/lib/python3.11/site-packages/psqlextra/backend/schema.py", line 851, in alter_field super().alter_field(model, old_field,...