bernardopires / django-tenant-schemas

Tenant support for Django using PostgreSQL schemas.
https://django-tenant-schemas.readthedocs.org/en/latest/
MIT License
1.46k stars 424 forks source link

Remove one additional query to Database just to identify the schema name. #555

Open Lubdhak opened 6 years ago

Lubdhak commented 6 years ago

is there any way where i can supply the schema's name (in my project schema name is same as tenant's name) in the header of request and search path would be set based on the same name.

i want to remove the dependancy on the "public.Client" table just to fetch schema's name

Lubdhak commented 6 years ago

https://github.com/mik3y/django-db-multitenant

^ this works 👍