summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-01-05 16:59:54 -0800
committereliott <eliott@cactuswax.net>2008-01-05 16:59:54 -0800
commitea8a7cb4e3a9efd86773e1ea3c4155901fe0fdb1 (patch)
tree23ffb04e3baeb84e947d3b4b8498edff4cab3e81 /settings.py
parent74e2bc437d0a7e845f6b4e66579e9198c4a955ec (diff)
downloadarchweb-ea8a7cb4e3a9efd86773e1ea3c4155901fe0fdb1.tar.gz
archweb-ea8a7cb4e3a9efd86773e1ea3c4155901fe0fdb1.zip
Changed a few var names
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 += (