1
0
mirror of https://github.com/django/django.git synced 2025-04-14 12:24:36 +00:00

[2.2.x] Fixed typo in docs/ref/settings.txt.

Backport of 4cbe2b06ce580423c62b6e49969f7e24d57d63b8 from master
This commit is contained in:
Mariusz Felisiak 2019-04-02 09:10:11 +02:00
parent cfc1197168
commit de11488c52
No known key found for this signature in database
GPG Key ID: 2EF56372BA48CD1B

View File

@ -388,7 +388,7 @@ See :setting:`SESSION_COOKIE_SAMESITE` for details about ``SameSite``.
Default: ``False``
Whether to use a secure cookie for the CSRF cookie. If this is set to ``True``,
the cookie will be marked as "secure," which means browsers may ensure that the
the cookie will be marked as "secure", which means browsers may ensure that the
cookie is only sent with an HTTPS connection.
.. setting:: CSRF_USE_SESSIONS
@ -3093,7 +3093,7 @@ Possible values for the setting are:
Default: ``False``
Whether to use a secure cookie for the session cookie. If this is set to
``True``, the cookie will be marked as "secure," which means browsers may
``True``, the cookie will be marked as "secure", which means browsers may
ensure that the cookie is only sent under an HTTPS connection.
Leaving this setting off isn't a good idea because an attacker could capture an