summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-08-04 12:50:42 -0700
committerTim Graham <timograham@gmail.com>2012-08-04 12:50:42 -0700
commit84c3c9097d4a240ae2880ba272a207b96ddf7553 (patch)
tree3f00233bd59c03e71d5550db7e367239a723d49f /docs
parent46589d0c6d01c1fcf842db297e3d26b59b5a264f (diff)
parent3c0877938f5eafc822d32b6c4f85e5a46b873390 (diff)
Merge pull request #153 from webjunkie/patch-1
Fixed #18110 -- Improve template cache tag documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/cache.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt
index 03afa86647..d0bd9f6992 100644
--- a/docs/topics/cache.txt
+++ b/docs/topics/cache.txt
@@ -595,7 +595,8 @@ the ``cache`` template tag. To give your template access to this tag, put
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:
+and the name to give the cache fragment. The name will be taken as is, do not
+use a variable. For example:
.. code-block:: html+django