From b6fd05e4452a709b5c7dc2fc961041d8d6a461d3 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 9 Oct 2005 01:02:19 +0000 Subject: [PATCH] Added CACHE_MIDDLEWARE_KEY_PREFIX to global_settings git-svn-id: http://code.djangoproject.com/svn/django/trunk@811 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/global_settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index 3d81f580fb..c651543ff9 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -126,6 +126,8 @@ JING_PATH = "/usr/bin/jing" # response phase the middleware will be applied in reverse order. MIDDLEWARE_CLASSES = ( "django.middleware.sessions.SessionMiddleware", +# "django.middleware.http.ConditionalGetMiddleware", +# "django.middleware.gzip.GZipMiddleware", "django.middleware.common.CommonMiddleware", "django.middleware.doc.XViewMiddleware", ) @@ -145,6 +147,7 @@ SESSION_COOKIE_DOMAIN = None # A string like ".lawrence.com", or No # The cache backend to use. See the docstring in django.core.cache for the # possible values. CACHE_BACKEND = 'simple://' +CACHE_MIDDLEWARE_KEY_PREFIX = '' #################### # COMMENTS #