mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Added note about CONSTANCE_DATABASE_CACHE_BACKEND. Fixes #25.
This commit is contained in:
parent
455088e695
commit
b519aa4189
1 changed files with 11 additions and 0 deletions
11
README.rst
11
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue