diff options
| author | Tim Graham <timograham@gmail.com> | 2014-07-09 13:54:41 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-09 14:12:52 -0400 |
| commit | f3bdb83ba58a696c0696d8a6706d2c44a00da68a (patch) | |
| tree | 166c9b98896718cc4448ad8171d438f3e829e29c /docs | |
| parent | d8f7e00708dec84237954cde17a27e1afb657438 (diff) | |
[1.6.x] Revert "Improve cookie based session backend docs." refs #20418
This reverts commit d9c01da1f8ba3d4e0947fd1d619c8f4a9b013360.
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 3a85aae2ea from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/http/sessions.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt index 490f1f36de..cc9ee89658 100644 --- a/docs/topics/http/sessions.txt +++ b/docs/topics/http/sessions.txt @@ -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. |
