From 715be017ddac631af8def5313c3fe046eb5dc361 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Mon, 25 Nov 2013 09:12:25 +0100 Subject: [PATCH] Removed caches since they are not used. Back to db based session storage. Re-added sessions backend. --- dpaste/settings/__init__.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dpaste/settings/__init__.py b/dpaste/settings/__init__.py index 17b9de9..8c6ab0c 100644 --- a/dpaste/settings/__init__.py +++ b/dpaste/settings/__init__.py @@ -95,6 +95,8 @@ TEMPLATE_CONTEXT_PROCESSORS += ( INSTALLED_APPS = ( 'django.contrib.staticfiles', + 'django.contrib.sessions', + 'mptt', 'south', 'gunicorn', @@ -110,14 +112,6 @@ DATABASES = { } } -CACHES = { - 'default': { - 'BACKEND': 'django.core.cache.backends.dummy.DummyCache', - } -} - -SESSION_ENGINE = 'django.contrib.sessions.backends.cache' - #============================================================================== # App specific settings #==============================================================================