summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-03-25 10:29:06 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-03-25 10:29:06 +0000
commit962defed0adab6144464337a9cad44a4323ae3de (patch)
treefad1e846706a9710bf12bd6b58decafe810cac1d /docs
parentc62c47e638494b42b86878b84afe7682b58f8941 (diff)
Fixed #13200 -- Updated the DB session backend to make full use of routers, deprecating the need for the SESSION_DB_ALIAS setting. Thanks to rokclimb15 for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/settings.txt12
-rw-r--r--docs/topics/http/sessions.txt7
2 files changed, 0 insertions, 19 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 7fda207d5b..f8d76080e2 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -1299,18 +1299,6 @@ See the :ref:`topics-http-sessions`.
.. setting:: SESSION_EXPIRE_AT_BROWSER_CLOSE
-SESSION_DB_ALIAS
-----------------
-
-.. versionadded:: 1.2
-
-Default: ``None``
-
-If you're using database-backed session storage, this selects the database
-alias that will be used to store session data. By default, Django will use
-the ``default`` database, but you can store session data on any database
-you choose.
-
SESSION_EXPIRE_AT_BROWSER_CLOSE
-------------------------------
diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt
index 3354eb7f24..bce5e1b2f0 100644
--- a/docs/topics/http/sessions.txt
+++ b/docs/topics/http/sessions.txt
@@ -44,16 +44,9 @@ Using database-backed sessions
If you want to use a database-backed session, you need to add
``'django.contrib.sessions'`` to your ``INSTALLED_APPS`` setting.
-If you want to store your session data on a database other than ``default``
-alias, you should set the :setting:`SESSION_DB_ALIAS` setting.
-
Once you have configured your installation, run ``manage.py syncdb``
to install the single database table that stores session data.
-.. versionadded:: 1.2
- The :setting:`SESSION_DB_ALIAS` setting was added in Django 1.2. It
- is not required in earlier versions.
-
Using cached sessions
---------------------