Author: mtredinnick
Date: 2008-09-17 03:10:55 -0500 (Wed, 17 Sep 2008)
New Revision: 9062
Modified:
django/trunk/django/contrib/sessions/middleware.py
Log:
Fixed #9096 -- Fixed a slightly out-of-date comment.
Modified: django/trunk/django/contrib/sessions/middleware.py
===================================================================
--- django/trunk/django/contrib/sessions/middleware.py 2008-09-17 07:59:05 UTC
(rev 9061)
+++ django/trunk/django/contrib/sessions/middleware.py 2008-09-17 08:10:55 UTC
(rev 9062)
@@ -11,8 +11,10 @@
request.session = engine.SessionStore(session_key)
def process_response(self, request, response):
- # If request.session was modified, or if response.session was set, save
- # those changes and set a session cookie.
+ """
+ If request.session was modified, or if the configuration is to save the
+ session every time, save the changes and set a session cookie.
+ """
try:
accessed = request.session.accessed
modified = request.session.modified
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---