Commit 60585f66 authored by Florian Apolloner's avatar Florian Apolloner
Browse files

Merge pull request #1190 from ambv/doc_settings_fix

Removed a confusing duplicate SESSION_COOKIE_DOMAIN header
parents 18856f86 a542b808
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