# HG changeset patch # User Brian Neal # Date 1388350491 21600 # Node ID 3ba1f30d1d6a895f362e2e063daca0820daef006 # Parent bace7db5678c2d8a9f436210404345e23fe001f7 Django 1.6: CACHE_MIDDLEWARE_ANONYMOUS_ONLY deprecated. diff -r bace7db5678c -r 3ba1f30d1d6a sg101/settings/production.py --- a/sg101/settings/production.py Sun Dec 29 14:52:23 2013 -0600 +++ b/sg101/settings/production.py Sun Dec 29 14:54:51 2013 -0600 @@ -35,9 +35,10 @@ 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', 'TIMEOUT': 600, + 'KEY_PREFIX': 'sg101', }, } -CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True +CACHE_MIDDLEWARE_ALIAS = 'default' CACHE_MIDDLEWARE_SECONDS = 600 CACHE_MIDDLEWARE_KEY_PREFIX = ''