django-tenant-schemas
django-tenant-schemas copied to clipboard
Question: Shared user with unique name
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 have ONE shared User-table and add to every user which belongs to a tenant the prefix so that GK will be converted to SCHEMAGK.GK when I save the user and the login is also adding the SCHEMA.
I tried to make my own user-table inherited from the original but because when I save the Model I can't get the schema-name of the TENANT-Models. Maybe this is possible?