Skip to content

Commit d82d2d4

Browse files
authored
Corrected get_cache_key() signature in docs.
Follow up to b224152 and cb17f7c
1 parent c48a7d3 commit d82d2d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ref/utils.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ need to distinguish caches by the ``Accept-language`` header.
8787
Handling an asterisk ``'*'`` according to :rfc:`7231#section-7.1.4` was
8888
added.
8989

90-
.. function:: get_cache_key(request, key_prefix=None)
90+
.. function:: get_cache_key(request, key_prefix=None, method='GET', cache=None)
9191

9292
Returns a cache key based on the request path. It can be used in the
9393
request phase because it pulls the list of headers to take into account

0 commit comments

Comments
 (0)