Author: gwilson
Date: 2007-10-30 20:46:32 -0500 (Tue, 30 Oct 2007)
New Revision: 6633
Modified:
django/trunk/docs/cache.txt
Log:
Fixed #5842 -- Marked cache template tag as "New in development version",
thanks `SmileyChris`.
Modified: django/trunk/docs/cache.txt
===================================================================
--- django/trunk/docs/cache.txt 2007-10-30 23:00:57 UTC (rev 6632)
+++ django/trunk/docs/cache.txt 2007-10-31 01:46:32 UTC (rev 6633)
@@ -291,13 +291,15 @@
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 %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---