From 9000a0626b0b503d72f1a279a6c58ce9a692a0ed Mon Sep 17 00:00:00 2001 From: Hemanth Nakkina Date: Sat, 20 Apr 2024 16:55:58 +0530 Subject: [PATCH] [horizon] change cache to DummyCache horizon-k8s charms doesnot support memcache or redis relations yet. Use Dummycache to avoid using default PyMemcache backend Change-Id: I3aefab5173cef0ba980cd3e18df3802036f54f8f --- charms/horizon-k8s/src/templates/local_settings.py.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/charms/horizon-k8s/src/templates/local_settings.py.j2 b/charms/horizon-k8s/src/templates/local_settings.py.j2 index 77b1c5a8..212c14f6 100644 --- a/charms/horizon-k8s/src/templates/local_settings.py.j2 +++ b/charms/horizon-k8s/src/templates/local_settings.py.j2 @@ -147,8 +147,7 @@ SECRET_KEY = "{{ options.secret }}" CACHES = { 'default': { - 'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache', - 'LOCATION': '127.0.0.1:11211', + 'BACKEND': 'django.core.cache.backends.dummy.DummyCache', }, } {% if database.database_host -%}