From 1c60076b6d4c2df0ac1de54c59e63b4f780cecbc Mon Sep 17 00:00:00 2001 From: Thadeus Burgess Date: Sun, 21 Sep 2014 15:22:36 -0500 Subject: [PATCH] Update docs with None timeout example. re #96 --- docs/index.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index 3935a85..2ed3a23 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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' %}...