Author: jacob
Date: 2007-09-16 15:11:14 -0500 (Sun, 16 Sep 2007)
New Revision: 6365
Modified:
django/trunk/AUTHORS
django/trunk/django/contrib/sessions/backends/base.py
Log:
Refs #5513: improved session performance after [6333]'s session refactoring.
Thanks, msaelices.
Modified: django/trunk/AUTHORS
===================================================================
--- django/trunk/AUTHORS 2007-09-16 16:54:16 UTC (rev 6364)
+++ django/trunk/AUTHORS 2007-09-16 20:11:14 UTC (rev 6365)
@@ -196,6 +196,7 @@
Waylan Limberg <[EMAIL PROTECTED]>
limodou
Philip Lindborg <[EMAIL PROTECTED]>
+ msaelices <[EMAIL PROTECTED]>
Matt McClanahan <http://mmcc.cx/>
Martin Maney <http://www.chipy.org/Martin_Maney>
[EMAIL PROTECTED]
Modified: django/trunk/django/contrib/sessions/backends/base.py
===================================================================
--- django/trunk/django/contrib/sessions/backends/base.py 2007-09-16
16:54:16 UTC (rev 6364)
+++ django/trunk/django/contrib/sessions/backends/base.py 2007-09-16
20:11:14 UTC (rev 6365)
@@ -107,7 +107,7 @@
try:
return self._session_cache
except AttributeError:
- if self.session_key is None:
+ if self._session_key is None:
self._session_cache = {}
else:
self._session_cache = self.load()
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---