You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added constance in my TENANT_APPS that will create constance tables for each tenant in db. But in case of caching, the redis is shared between tenants. How can I make the caching of constance config tenant aware?
The text was updated successfully, but these errors were encountered:
I had similar issue with django-tenants. The database worked perfectly as connection hits the constance_config table in correct schema for tenant. However when I cache in Redis it has key collision. As tenants share an instance of django KEY_PREFIX doesn't not solve issue. I worked around with the following and pointed CONSTANCE_BACKEND at this class.
Describe the problem
I have added constance in my TENANT_APPS that will create constance tables for each tenant in db. But in case of caching, the redis is shared between tenants. How can I make the caching of constance config tenant aware?
The text was updated successfully, but these errors were encountered: