Django

Code

Changeset 6049

Show
Ignore:
Timestamp:
09/04/07 17:44:35 (1 year ago)
Author:
adrian
Message:

Updated docs/cache.txt section on 'dummy caching' to use the same example format as the other backends

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/cache.txt

    r5665 r6049  
    177177This is useful if you have a production site that uses heavy-duty caching in 
    178178various places but a development/test environment on which you don't want to 
    179 cache. In that case, set ``CACHE_BACKEND`` to ``"dummy:///"`` in the settings 
    180 file for your development environment. As a result, your development 
    181 environment won't use caching and your production environment still will. 
     179cache. As a result, your development environment won't use caching and your 
     180production environment still will. To activate dummy caching, set 
     181``CACHE_BACKEND`` like so:: 
     182 
     183    CACHE_BACKEND = 'dummy:///' 
    182184 
    183185CACHE_BACKEND arguments