changeset 309:8a0bae48b6ca

Fixing #143; update to new cache settings.
author Brian Neal <bgneal@gmail.com>
date Mon, 17 Jan 2011 04:00:59 +0000
parents 4d086d2210b9
children daa2916f5b34
files gpp/settings.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/settings.py	Sun Jan 16 21:06:40 2011 +0000
+++ b/gpp/settings.py	Mon Jan 17 04:00:59 2011 +0000
@@ -178,10 +178,10 @@
 # Caching
 #######################################################################
 if local_settings.USE_CACHE:
-    CACHE_BACKEND = local_settings.CACHE_BACKEND
+    CACHES = local_settings.CACHES
+    CACHE_MIDDLEWARE_ANONYMOUS_ONLY = local_settings.CACHE_MIDDLEWARE_ANONYMOUS_ONLY
     CACHE_MIDDLEWARE_SECONDS = local_settings.CACHE_MIDDLEWARE_SECONDS
     CACHE_MIDDLEWARE_KEY_PREFIX = local_settings.CACHE_MIDDLEWARE_KEY_PREFIX
-    CACHE_MIDDLEWARE_ANONYMOUS_ONLY = local_settings.CACHE_MIDDLEWARE_ANONYMOUS_ONLY
 
 #######################################################################
 # Sessions