-
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Subject: Supporting django-tenants from django-redshift-backend
Problem
- We are using the django-tenants extension, which utilizes a schema-based tenant model. Currently queries will not set their search path to the tenant schema in the redshift backend.
Procedure to reproduce the problem
- Initialize a project with https://django-tenants.readthedocs.io/en/latest/
- Try to query django-redshift-backend on a specific tenant.
Expected results
An optional flag, when enabled the redshift backend will execute a set search path on the cursor.
Environment info
- OS: Mac (local), Ubuntu (deployment)
- Python version: 3.9.17
- Django version: 4.0
- Django-Redshift-Backend version: latest
Metadata
Metadata
Assignees
Labels
No labels