Changeset 5869
- Timestamp:
- 08/12/07 05:24:21 (1 year ago)
- Files:
-
- django/trunk/docs/sessions.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/sessions.txt
r5140 r5869 191 191 request.session['foo']['bar'] = 'baz' 192 192 193 In the last case of the above example, we can tell the session object 194 explicitly that it has been modified by setting the ``modified`` attribute on 195 the session object:: 196 197 request.session.modified = True 198 193 199 To change this default behavior, set the ``SESSION_SAVE_EVERY_REQUEST`` setting 194 200 to ``True``. If ``SESSION_SAVE_EVERY_REQUEST`` is ``True``, Django will save
