Skip to content

Commit

Permalink
Update docs with None timeout example. re #96
Browse files Browse the repository at this point in the history
  • Loading branch information
thadeusb committed Sep 21, 2014
1 parent 03bfe2a commit 1c60076
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ By default the value of "path to template file" + "block start line" is used as
Also key name can be set manually. Keys are concated together into a single string.
that can be used to avoid the same block evaluating in different templates.

Set the timeout to None for no timeout, but with custom keys::

{% cache None "key" %}...

Set timeout to "del" to delete cached value::

{% cache 'del' %}...
Expand Down

0 comments on commit 1c60076

Please sign in to comment.