Django

Code

Show
Ignore:
Timestamp:
11/29/07 23:34:04 (1 year ago)
Author:
adrian
Message:

Edited docs/cache.txt changes from [6580], removing a gross exclamation point usage in the process

Files:

Legend:

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

    r6774 r6775  
    304304========================= 
    305305 
    306 **New in development version**. 
     306**New in development version** 
    307307 
    308308If you're after even more control, you can also cache template fragments using 
     
    320320 
    321321Sometimes you might want to cache multiple copies of a fragment depending on 
    322 some dynamic data that appears inside the fragment. For example you may want a 
     322some dynamic data that appears inside the fragment. For example, you might want a 
    323323separate cached copy of the sidebar used in the previous example for every user 
    324 of your site. This can be easily achieved by passing additional arguments to 
    325 the ``{% cache %}`` template tag to uniquely identify the cache fragment:: 
     324of your site. Do this by passing additional arguments to the ``{% cache %}`` 
     325template tag to uniquely identify the cache fragment:: 
    326326 
    327327    {% load cache %} 
     
    330330    {% endcache %} 
    331331 
    332 If you need more than one argument to identify the fragment that's fine, simply 
    333 pass as many arguments to ``{% cache %}`` as you need! 
     332It's perfectly fine to specify more than one argument to identify the fragment. 
     333Simply pass as many arguments to ``{% cache %}`` as you need. 
    334334 
    335335The low-level cache API