Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.6.x] Revert "Improve cookie based session backend docs." refs #20418

This reverts commit d9c01da.

This is poor advice as it breaks the test client login (refs #22934).
We can add a note like this back after refs #22986 is resolved.

Backport of 3a85aae from master
  • Loading branch information...
commit f3bdb83ba58a696c0696d8a6706d2c44a00da68a 1 parent d8f7e00
Tim Graham timgraham authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 docs/topics/http/sessions.txt
7 docs/topics/http/sessions.txt
View
@@ -120,13 +120,6 @@ and the :setting:`SECRET_KEY` setting.
.. note::
- When using cookies-based sessions :mod:`django.contrib.sessions` can be
- removed from :setting:`INSTALLED_APPS` setting because data is loaded
- from the key itself and not from the database, so there is no need for the
- creation and usage of ``django.contrib.sessions.models.Session`` table.
-
-.. note::
-
It's recommended to leave the :setting:`SESSION_COOKIE_HTTPONLY` setting
``True`` to prevent tampering of the stored data from JavaScript.
Please sign in to comment.
Something went wrong with that request. Please try again.