diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-10 08:54:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-10 08:54:45 +0100 |
| commit | 5e17301f38d0a4f372d4d36762a464f5f4714ebd (patch) | |
| tree | 7f4aafd47a918f22065137eb557d8a1724ba202c /docs | |
| parent | 5da627a58f41d6854342e95a171a82f5b2309d52 (diff) | |
Corrected learn_cache_key() signature in docs.
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/utils.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 9b6f17f273..741ed585f2 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -97,7 +97,7 @@ need to distinguish caches by the ``Accept-language`` header. If there is no headerlist stored, the page needs to be rebuilt, so this function returns ``None``. -.. function:: learn_cache_key(request, response, cache_timeout=None, key_prefix=None) +.. function:: learn_cache_key(request, response, cache_timeout=None, key_prefix=None, cache=None) Learns what headers to take into account for some request path from the response object. It stores those headers in a global path registry so that |
