summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings.py b/settings.py
index 3e89a009..84c77fe3 100644
--- a/settings.py
+++ b/settings.py
@@ -11,7 +11,7 @@ TEMPLATE_DEBUG = DEBUG
MANAGERS = ADMINS
## Cache backend settings
-if ENABLE_CACHE == True:
+if CACHE == True:
CACHE_BACKEND = 'file:///tmp/ALdjangocache?timeout=900'
CACHE_MIDDLEWARE_SECONDS = 900
CACHE_MIDDLEWARE_KEY_PREFIX = 'arch'
@@ -57,7 +57,7 @@ MIDDLEWARE_CLASSES = (
)
# A bit of hackery to insert caching at the right spot
-if ENABLE_CACHE == True:
+if CACHE == True:
MIDDLEWARE_CLASSES += ('django.middleware.cache.CacheMiddleware',)
MIDDLEWARE_CLASSES += (