Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated docs/cache.txt section on 'dummy caching' to use the same exa…

…mple format as the other backends

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit faaf2dad362e83a07779cecf5951b0f7e800803b 1 parent 9515b95
@adrianholovaty adrianholovaty authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 docs/cache.txt
View
8 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
-----------------------
Please sign in to comment.
Something went wrong with that request. Please try again.