diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-09-04 22:44:35 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-09-04 22:44:35 +0000 |
| commit | faaf2dad362e83a07779cecf5951b0f7e800803b (patch) | |
| tree | af3e646772db38391ac42bd2fa2a0135b2595a2b /docs | |
| parent | 9515b953f8ebaf239247416dd4c638c287f171c6 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/cache.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/cache.txt b/docs/cache.txt index d13352b025..92b5c1b43d 100644 --- a/docs/cache.txt +++ b/docs/cache.txt @@ -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 ----------------------- |
