From f004374f8ff0ad30a694a0f4b74ba24ca9cf3227 Mon Sep 17 00:00:00 2001 From: arachnegl Date: Sun, 13 Apr 2014 18:52:43 -0400 Subject: [PATCH] [1.7.x] Fixed #22398 -- Added detail about callable in KEY_FUNCTION docs Backport of 8da86fd19b from master --- docs/ref/settings.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index f5125f608b..72fe7b1ab6 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -189,7 +189,7 @@ backend class (i.e. ``mypackage.backends.whatever.WhateverCache``). KEY_FUNCTION ~~~~~~~~~~~~ -A string containing a dotted path to a function that defines how to +A string containing a dotted path to a function (or any callable) that defines how to compose a prefix, version and key into a final cache key. The default implementation is equivalent to the function::