Browse Source

Fix #20195: wrong reference in session settings documentation.

Baptiste Mispelon 12 years ago
parent
commit
2c27300f34
2 changed files with 3 additions and 1 deletions
  1. 1 1
      docs/ref/settings.txt
  2. 2 0
      docs/topics/http/sessions.txt

+ 1 - 1
docs/ref/settings.txt

@@ -2372,7 +2372,7 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE
 Default: ``False``
 
 Whether to expire the session when the user closes his or her browser. See
-"Browser-length sessions vs. persistent sessions" above.
+:ref:`browser-length-vs-persistent-sessions`.
 
 .. setting:: SESSION_FILE_PATH
 

+ 2 - 0
docs/topics/http/sessions.txt

@@ -453,6 +453,8 @@ session cookie is sent.
 .. versionchanged:: 1.5
   The session is not saved if the response's status code is 500.
 
+.. _browser-length-vs-persistent-sessions:
+
 Browser-length sessions vs. persistent sessions
 ===============================================