django-tenant-schemas
django-tenant-schemas copied to clipboard
User and organization in public without url part
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 slug that is in the organization table. So when the user logs in to the system, it will automatically pick up the 'slug' field, for example, 'organization_1' in the organization table and set it as a schema.
Is it possible to do that? You have to help me?
Thank you.