diff gpp/settings.py @ 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 64c188a9d31f
children 88b2b9cb8c1f
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