无法将 django-cachalot 与 django-tenants 一起使用
Unable to use django-cachalot with django-tenants
正在尝试使用 django-cachalot with django-tenants。我一开始就收到以下错误。有人有解决方案吗?
(cachalot.W003) Database engine 'django_tenants.postgresql_backend' is not supported by django-cachalot.
HINT: Switch to a supported database engine.
找到解决方案 — 您必须修补 django-cachalot
才能为每个租户生成唯一的缓存键。查看此打开的拉取请求 - https://github.com/noripyt/django-cachalot/pull/123
正在尝试使用 django-cachalot with django-tenants。我一开始就收到以下错误。有人有解决方案吗?
(cachalot.W003) Database engine 'django_tenants.postgresql_backend' is not supported by django-cachalot.
HINT: Switch to a supported database engine.
找到解决方案 — 您必须修补 django-cachalot
才能为每个租户生成唯一的缓存键。查看此打开的拉取请求 - https://github.com/noripyt/django-cachalot/pull/123