summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-11-23 01:54:34 -0600
committerDusty Phillips <buchuki@gmail.com>2008-11-27 20:35:49 -0500
commit98155937e072354d6f90558684643aa39a724d9d (patch)
tree009085ac22c3be94205abeadc301d9e462be8df0 /settings.py
parent789b5445cf9b3f2e67911dfd6aee4e836708aa05 (diff)
Remove caching crud from archweb_dev
We aren't going to enable this because it is a restricted-access site, so no need in keeping the crud around. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/settings.py b/settings.py
index c9d431da..cdd737d2 100644
--- a/settings.py
+++ b/settings.py
@@ -3,7 +3,6 @@ import os
# setup some var defaults
DEBUG = True
-CACHE = False
## Import local settings
from local_settings import *
@@ -48,13 +47,6 @@ MIDDLEWARE_CLASSES = (
"django.contrib.sessions.middleware.SessionMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
'django.middleware.http.ConditionalGetMiddleware',
-)
-
-# A bit of hackery to insert caching at the right spot
-if CACHE == True:
- MIDDLEWARE_CLASSES += ('django.middleware.cache.CacheMiddleware',)
-
-MIDDLEWARE_CLASSES += (
"django.middleware.common.CommonMiddleware",
"django.middleware.doc.XViewMiddleware",
"archweb_dev.main.middleware.RequireLoginMiddleware",