Mercurial > public > madeira
changeset 132:e53efcac7a7a
For Django 1.6: CACHE_MIDDLEWARE_ANONYMOUS_ONLY deprecated.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 24 Dec 2013 17:18:44 -0600 |
parents | 9c74cd8668eb |
children | d618107d2120 |
files | madeira/settings/production.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/madeira/settings/production.py Tue Dec 24 16:50:13 2013 -0600 +++ b/madeira/settings/production.py Tue Dec 24 17:18:44 2013 -0600 @@ -33,9 +33,10 @@ 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', 'TIMEOUT': 600, + 'KEY_PREFIX': 'madeira', }, } -CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True +CACHE_MIDDLEWARE_ALIAS = 'default' CACHE_MIDDLEWARE_SECONDS = 600 CACHE_MIDDLEWARE_KEY_PREFIX = ''