From b519aa41898eaff1e2fb7ac3949d967e1b805162 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 21 Feb 2013 18:42:42 +0100 Subject: [PATCH] Added note about CONSTANCE_DATABASE_CACHE_BACKEND. Fixes #25. --- README.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.rst b/README.rst index d8cfbe4..7c3780b 100644 --- a/README.rst +++ b/README.rst @@ -113,6 +113,17 @@ to enable this feature:: cross-process caching, because correct cache invalidation can't be guaranteed. +Starting in Django 1.3 you can alternatively be the name of an entry of +the ``CACHES`` setting. E.g.:: + + CACHES = { + 'default': { + 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', + 'LOCATION': '127.0.0.1:11211', + } + } + CONSTANCE_DATABASE_CACHE_BACKEND = 'default' + .. _django-picklefield: http://pypi.python.org/pypi/django-picklefield/ Usage