Skip to content

Commit

Permalink
[1.7.x] Revert "Improve cookie based session backend docs." refs #20418
Browse files Browse the repository at this point in the history
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
timgraham committed Jul 9, 2014
1 parent 9673013 commit a3d710a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/topics/http/sessions.txt
Expand Up @@ -119,13 +119,6 @@ To use cookies-based sessions, set the :setting:`SESSION_ENGINE` setting to
stored using Django's tools for :doc:`cryptographic signing </topics/signing>`
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
Expand Down

0 comments on commit a3d710a

Please sign in to comment.