We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Today we are selecting the tenant instance for every TenantAware model save.
Ideally, we should retrieve the Tenant instance on the middleware, but then there is no easy way to make the middlewares know the Tenant model name.
One idea is to inject a default value as a class attribute on the TenantLocal class. But we still need to check it.
Another idea is to fallback and creates a settings parameter that explicitly defines the Tenant Model Class name like myapp.MyTenant.
myapp.MyTenant
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Today we are selecting the tenant instance for every TenantAware model save.
Ideally, we should retrieve the Tenant instance on the middleware, but then there is no easy way to make the middlewares know the Tenant model name.
One idea is to inject a default value as a class attribute on the TenantLocal class. But we still need to check it.
Another idea is to fallback and creates a settings parameter that explicitly defines the Tenant Model Class name like
myapp.MyTenant
.The text was updated successfully, but these errors were encountered: