Переглянути джерело

Fixed docs typo in HttpResponse.set_signed_cookie() signature.

Osaetin Daniel 6 роки тому
батько
коміт
cd242d185b
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      docs/ref/request-response.txt

+ 1 - 1
docs/ref/request-response.txt

@@ -793,7 +793,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, samesite=None)
+.. method:: HttpResponse.set_signed_cookie(key, value, salt='', max_age=None, expires=None, path='/', domain=None, secure=None, httponly=False, samesite=None)
 
     Like :meth:`~HttpResponse.set_cookie()`, but
     :doc:`cryptographic signing </topics/signing>` the cookie before setting