Browse files

Fixed #5842 -- Marked cache template tag as "New in development versi…

…on", thanks `SmileyChris`.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 0709c23 commit 39f28512b9d2776c5bd716a334999e28fd2ac731 @gdub gdub committed Oct 31, 2007
Showing with 6 additions and 4 deletions.
  1. +6 −4 docs/cache.txt
View
10 docs/cache.txt
@@ -291,13 +291,15 @@ minutes.
Template fragment caching
=========================
+**New in development version**.
+
If you're after even more control, you can also cache template fragments using
-the ``cache`` template tag. To give your template access to this tag, put ``{%
-load cache %}`` near the top of your template.
+the ``cache`` template tag. To give your template access to this tag, put
+``{% load cache %}`` near the top of your template.
The ``{% cache %}`` template tag caches the contents of the block for a given
-amount of time. It takes at least two arguments: the cache timeout, in
-seconds, and the name to give the cache fragment. For example::
+amount of time. It takes at least two arguments: the cache timeout, in seconds,
+and the name to give the cache fragment. For example::
{% load cache %}
{% cache 500 sidebar %}

0 comments on commit 39f2851

Please sign in to comment.