mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Doc: "value" is arg not kwarg in HttpResponse.set_signed_cookie
This commit is contained in:
parent
bc35b95274
commit
c5b2414a52
@ -696,7 +696,7 @@ Methods
|
||||
|
||||
.. _HTTPOnly: https://www.owasp.org/index.php/HTTPOnly
|
||||
|
||||
.. method:: HttpResponse.set_signed_cookie(key, value='', salt='', max_age=None, expires=None, path='/', domain=None, secure=None, httponly=True)
|
||||
.. method:: HttpResponse.set_signed_cookie(key, value, salt='', max_age=None, expires=None, path='/', domain=None, secure=None, httponly=True)
|
||||
|
||||
Like :meth:`~HttpResponse.set_cookie()`, but
|
||||
:doc:`cryptographic signing </topics/signing>` the cookie before setting
|
||||
|
Loading…
Reference in New Issue
Block a user