Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #153 from webjunkie/patch-1

Fixed #18110 -- Improve template cache tag documentation
  • Loading branch information...
2 parents 46589d0 + 3c08779 commit 84c3c9097d4a240ae2880ba272a207b96ddf7553 @timgraham timgraham committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  docs/topics/cache.txt
3  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

0 comments on commit 84c3c90

Please sign in to comment.
Something went wrong with that request. Please try again.