From 7a39ff8e3ff4d4cd8170aa8f38df5e008afd0206 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Mon, 8 Jun 2015 15:01:01 +0000 Subject: [PATCH] [Conf] fix handling of CACHES setting --- mygpo/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mygpo/settings.py b/mygpo/settings.py index a78b7a80..6bf16295 100644 --- a/mygpo/settings.py +++ b/mygpo/settings.py @@ -46,6 +46,7 @@ DATABASES = { _cache_used = bool(os.getenv('CACHE_BACKEND', False)) if _cache_used: + CACHES = {} CACHES['default'] = { 'BACKEND': os.getenv( 'CACHE_BACKEND', -- 2.11.4.GIT