[1.11.x] Fixed docs typo in HttpResponse.set_signed_cookie() signature.

Backport of cd242d185bda9269913d4d101a7f704204ec907d from master
This commit is contained in:
Osaetin Daniel 2018-05-27 21:50:30 +01:00 committed by Tim Graham
parent 1824656b10
commit 10e6dd718d

View File

@ -807,7 +807,7 @@ Methods
to store a cookie of more than 4096 bytes, but many browsers will not
set the cookie correctly.
.. 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=False)
Like :meth:`~HttpResponse.set_cookie()`, but
:doc:`cryptographic signing </topics/signing>` the cookie before setting