Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Improve cookie based session backend docs.

Note the don't require sessions to be in installed apps.
  • Loading branch information...
commit d9c01da1f8ba3d4e0947fd1d619c8f4a9b013360 1 parent 2d0e36a
Marc Tamlyn authored May 18, 2013

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. 7  docs/topics/http/sessions.txt
7  docs/topics/http/sessions.txt
@@ -120,6 +120,13 @@ and the :setting:`SECRET_KEY` setting.
120 120
 
121 121
 .. note::
122 122
 
  123
+    When using cookies-based sessions :mod:`django.contrib.sessions` can be
  124
+    removed from :setting:`INSTALLED_APPS` setting because data is loaded
  125
+    from the key itself and not from the database, so there is no need for the
  126
+    creation and usage of ``django.contrib.sessions.models.Session`` table.
  127
+
  128
+.. note::
  129
+
123 130
     It's recommended to leave the :setting:`SESSION_COOKIE_HTTPONLY` setting
124 131
     ``True`` to prevent tampering of the stored data from JavaScript.
125 132
 

0 notes on commit d9c01da

Please sign in to comment.
Something went wrong with that request. Please try again.