Kaydet (Commit) 2f6bdab1 authored tarafından Konrad Świat's avatar Konrad Świat Kaydeden (comit) Tim Graham

Fixed #25125 -- Updated docs on cookie naming conventions.

Thanks Tim Graham for the review and kezabelle for the report.
üst 1ef4aeab
......@@ -366,7 +366,8 @@ CSRF_COOKIE_NAME
Default: ``'csrftoken'``
The name of the cookie to use for the CSRF authentication token. This can be
whatever you want. See :doc:`/ref/csrf`.
whatever you want (as long as it's different from the other cookie names in
your application). See :doc:`/ref/csrf`.
.. setting:: CSRF_COOKIE_PATH
......@@ -1614,8 +1615,8 @@ LANGUAGE_COOKIE_NAME
Default: ``'django_language'``
The name of the cookie to use for the language cookie. This can be whatever
you want (but should be different from :setting:`SESSION_COOKIE_NAME`). See
:doc:`/topics/i18n/index`.
you want (as long as it's different from the other cookie names in your
application). See :doc:`/topics/i18n/index`.
.. setting:: LANGUAGE_COOKIE_PATH
......@@ -2943,8 +2944,8 @@ SESSION_COOKIE_NAME
Default: ``'sessionid'``
The name of the cookie to use for sessions. This can be whatever you want (but
should be different from :setting:`LANGUAGE_COOKIE_NAME`).
The name of the cookie to use for sessions. This can be whatever you want
(as long as it's different from the other cookie names in your application).
.. setting:: SESSION_COOKIE_PATH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment