diff options
| author | Julian Bez <web-spy@gmx.de> | 2012-06-14 17:42:55 +0300 |
|---|---|---|
| committer | Julian Bez <web-spy@gmx.de> | 2012-06-14 17:42:55 +0300 |
| commit | 3c0877938f5eafc822d32b6c4f85e5a46b873390 (patch) | |
| tree | 7ad1c35ee1ed3cae5b64409a89570b605486babb /docs | |
| parent | 4d46106f8c233c5af283c903000ef8c6f1165393 (diff) | |
Fixed #18110 -- Improve template cache tag documentation
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/cache.txt | 3 |
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 |
