From a542b808baf49ede4d40b2893f1bb74cd60d56f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Mon, 20 May 2013 22:50:54 +0200 Subject: [PATCH] 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. --- docs/ref/settings.txt | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index c1170e19c5..b8ebc16bad 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -2231,6 +2231,9 @@ Controls where Django stores message data. Valid values are: See :ref:`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 `. -.. _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