Commit a542b808 authored by Łukasz Langa's avatar Łukasz Langa
Browse files

Removed a confusing duplicate SESSION_COOKIE_DOMAIN header

The note is clearly a part of MESSAGE_STORAGE documentation. As a separate
section, it broke automatic link generation on the HTML version of the
documentation.
parent 4ba1c2e7
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -2231,6 +2231,9 @@ Controls where Django stores message data. Valid values are:

See :ref:`message storage backends <message-storage-backends>` for more details.

The backends that use cookies -- ``CookieStorage`` and ``FallbackStorage`` --
use the value of :setting:`SESSION_COOKIE_DOMAIN` when setting their cookies.

.. setting:: MESSAGE_TAGS

MESSAGE_TAGS
@@ -2262,18 +2265,6 @@ to override. See :ref:`message-displaying` above for more details.
   according to the values in the above :ref:`constants table
   <message-level-constants>`.

.. _messages-session_cookie_domain:

SESSION_COOKIE_DOMAIN
---------------------

Default: ``None``

The storage backends that use cookies -- ``CookieStorage`` and
``FallbackStorage`` -- use the value of :setting:`SESSION_COOKIE_DOMAIN` in
setting their cookies.


.. _settings-sessions:

Sessions