mirror of https://github.com/django/django.git
Updated docs/cache.txt section on 'dummy caching' to use the same example format as the other backends
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9515b953f8
commit
faaf2dad36
|
@ -176,9 +176,11 @@ just implements the cache interface without doing anything.
|
|||
|
||||
This is useful if you have a production site that uses heavy-duty caching in
|
||||
various places but a development/test environment on which you don't want to
|
||||
cache. In that case, set ``CACHE_BACKEND`` to ``"dummy:///"`` in the settings
|
||||
file for your development environment. As a result, your development
|
||||
environment won't use caching and your production environment still will.
|
||||
cache. As a result, your development environment won't use caching and your
|
||||
production environment still will. To activate dummy caching, set
|
||||
``CACHE_BACKEND`` like so::
|
||||
|
||||
CACHE_BACKEND = 'dummy:///'
|
||||
|
||||
CACHE_BACKEND arguments
|
||||
-----------------------
|
||||
|
|
Loading…
Reference in New Issue