1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #30304 -- Added support for the HttpOnly, SameSite, and Secure flags on language cookies.

This commit is contained in:
Ran Benita
2019-04-01 12:29:10 +03:00
committed by Mariusz Felisiak
parent cef3f2d3c6
commit 19fc6376ce
6 changed files with 68 additions and 1 deletions

View File

@@ -1896,7 +1896,10 @@ A number of settings can be used to adjust language cookie options:
* :setting:`LANGUAGE_COOKIE_NAME`
* :setting:`LANGUAGE_COOKIE_AGE`
* :setting:`LANGUAGE_COOKIE_DOMAIN`
* :setting:`LANGUAGE_COOKIE_HTTPONLY`
* :setting:`LANGUAGE_COOKIE_PATH`
* :setting:`LANGUAGE_COOKIE_SAMESITE`
* :setting:`LANGUAGE_COOKIE_SECURE`
Implementation notes
====================