From 98155937e072354d6f90558684643aa39a724d9d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 23 Nov 2008 01:54:34 -0600 Subject: 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 --- settings.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'settings.py') 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", -- cgit v1.2.3-55-g3dc8