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:
Adrian Holovaty 2007-09-04 22:44:35 +00:00
parent 9515b953f8
commit faaf2dad36
1 changed files with 5 additions and 3 deletions

View File

@ -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 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 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 cache. As a result, your development environment won't use caching and your
file for your development environment. As a result, your development production environment still will. To activate dummy caching, set
environment won't use caching and your production environment still will. ``CACHE_BACKEND`` like so::
CACHE_BACKEND = 'dummy:///'
CACHE_BACKEND arguments CACHE_BACKEND arguments
----------------------- -----------------------