diff options
| author | Борис Верховский <boris.verk@gmail.com> | 2020-03-10 03:12:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-10 08:12:32 +0100 |
| commit | d82d2d49d629f010da2c0d81b5927946d971ae72 (patch) | |
| tree | 3b12856891fa58ab56a24f978bca2709112db6a5 /docs | |
| parent | c48a7d3a8ac1f448ca2ccd9714526dfff2eebaf9 (diff) | |
Corrected get_cache_key() signature in docs.
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991 and
cb17f7ca2252265ab4a844e7924cb8ebab4a1a76
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 4dafc9cee5..9b6f17f273 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -87,7 +87,7 @@ need to distinguish caches by the ``Accept-language`` header. Handling an asterisk ``'*'`` according to :rfc:`7231#section-7.1.4` was added. -.. function:: get_cache_key(request, key_prefix=None) +.. function:: get_cache_key(request, key_prefix=None, method='GET', cache=None) Returns a cache key based on the request path. It can be used in the request phase because it pulls the list of headers to take into account |
