summaryrefslogtreecommitdiff
path: root/docs/sessions.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-01-11 00:11:29 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-01-11 00:11:29 +0000
commit786e5477b70e34a502d1b0dd8fbf59926699e480 (patch)
tree2778a2e490ddaff6c5e45de8f4007afe0e953d1c /docs/sessions.txt
parent7573756e18b813a3aa388ff031e3167aa4665c15 (diff)
Removed 'Only in Django development version' messages from the docs, because frozen docs for version 0.90 are now available
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/sessions.txt')
-rw-r--r--docs/sessions.txt14
1 files changed, 5 insertions, 9 deletions
diff --git a/docs/sessions.txt b/docs/sessions.txt
index fbb11e4198..d3d1873a9a 100644
--- a/docs/sessions.txt
+++ b/docs/sessions.txt
@@ -35,7 +35,7 @@ it and write to it.
It implements the following standard dictionary methods:
* ``__contains__(key)``
- **New in Django development version.** Example: ``'fav_color' in request.session``
+ Example: ``'fav_color' in request.session``
* ``__getitem__(key)``
Example: ``fav_color = request.session['fav_color']``
@@ -182,10 +182,9 @@ deleted::
# request.session['foo'] instead of request.session.
request.session['foo']['bar'] = 'baz'
-**Only available in Django development version.** To change this default
-behavior, set the ``SESSION_SAVE_EVERY_REQUEST`` setting to ``True``. If
-``SESSION_SAVE_EVERY_REQUEST`` is ``True``, Django will save the session to the
-database on every single request.
+To change this default behavior, set the ``SESSION_SAVE_EVERY_REQUEST`` setting
+to ``True``. If ``SESSION_SAVE_EVERY_REQUEST`` is ``True``, Django will save
+the session to the database on every single request.
Note that the session cookie is only sent when a session has been created or
modified. If ``SESSION_SAVE_EVERY_REQUEST`` is ``True``, the session cookie
@@ -218,8 +217,7 @@ domain cookie.
SESSION_COOKIE_NAME
-------------------
-Default: ``'sessionid'`` (**Django development version.** Previous default was
-``'hotclub'``, which was deemed too pornish.)
+Default: ``'sessionid'``
The name of the cookie to use for sessions. This can be whatever you want.
@@ -228,8 +226,6 @@ SESSION_SAVE_EVERY_REQUEST
Default: ``False``
-**Only available in Django development version.**
-
Whether to save the session data on every request. If this is ``False``
(default), then the session data will only be saved if it has been modified --
that is, if any of its dictionary values have been assigned or deleted.