mirror of
https://github.com/django/django.git
synced 2025-02-23 07:55:07 +00:00
Fixed #22398 -- Added detail about callable in KEY_FUNCTION docs
This commit is contained in:
parent
b82f30785f
commit
8da86fd19b
@ -189,7 +189,7 @@ backend class (i.e. ``mypackage.backends.whatever.WhateverCache``).
|
|||||||
KEY_FUNCTION
|
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
|
compose a prefix, version and key into a final cache key. The default
|
||||||
implementation is equivalent to the function::
|
implementation is equivalent to the function::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user