Merge pull request #951 from yohanboniface/set_signed_cookie
Fixed signature of HttpResponse.set_signed_cookie in docs.
This commit is contained in:
commit
014638a131
|
@ -696,7 +696,7 @@ Methods
|
||||||
|
|
||||||
.. _HTTPOnly: https://www.owasp.org/index.php/HTTPOnly
|
.. _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
|
Like :meth:`~HttpResponse.set_cookie()`, but
|
||||||
:doc:`cryptographic signing </topics/signing>` the cookie before setting
|
:doc:`cryptographic signing </topics/signing>` the cookie before setting
|
||||||
|
|
Loading…
Reference in New Issue