diff --git a/humbug/settings.py b/humbug/settings.py index bf1f25d7a5..3df2ef1a29 100644 --- a/humbug/settings.py +++ b/humbug/settings.py @@ -303,10 +303,6 @@ if DEPLOYED: 'LOCATION': '127.0.0.1:11211', 'TIMEOUT': 3600 }, - 'database': { - 'BACKEND': 'django.core.cache.backends.db.DatabaseCache', - 'LOCATION': 'third_party_api_results' - }, } SESSION_ENGINE = "django.contrib.sessions.backends.cached_db" else: @@ -318,6 +314,10 @@ else: 'MAX_ENTRIES': 100000 } } } +CACHES['database'] = { + 'BACKEND': 'django.core.cache.backends.db.DatabaseCache', + 'LOCATION': 'third_party_api_results' + } LOGGING = { 'version': 1,