summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/utils.txt2
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