mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #30304 -- Added support for the HttpOnly, SameSite, and Secure flags on language cookies.
This commit is contained in:
committed by
Mariusz Felisiak
parent
cef3f2d3c6
commit
19fc6376ce
@@ -153,7 +153,11 @@ Generic Views
|
||||
Internationalization
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* Added the :setting:`LANGUAGE_COOKIE_HTTPONLY`,
|
||||
:setting:`LANGUAGE_COOKIE_SAMESITE`, and :setting:`LANGUAGE_COOKIE_SECURE`
|
||||
settings to set the ``HttpOnly``, ``SameSite``, and ``Secure`` flags on
|
||||
language cookies. The default values of these settings preserve the previous
|
||||
behavior.
|
||||
|
||||
Management Commands
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user