Skip to content
Browse files

Refs #5513: improved session performance after [6333]'s session refac…

…toring. Thanks, msaelices.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 0f4fb97 commit 771481695f0e53556824bdd64662efea87d55f32 @jacobian jacobian committed
Showing with 2 additions and 1 deletion.
  1. +1 −0 AUTHORS
  2. +1 −1 django/contrib/sessions/backends/base.py
View
1 AUTHORS
@@ -196,6 +196,7 @@ answer newbie questions, and generally made Django that much better:
Waylan Limberg <waylan@gmail.com>
limodou
Philip Lindborg <philip.lindborg@gmail.com>
+ msaelices <msaelices@gmail.com>
Matt McClanahan <http://mmcc.cx/>
Martin Maney <http://www.chipy.org/Martin_Maney>
masonsimon+django@gmail.com
View
2 django/contrib/sessions/backends/base.py
@@ -107,7 +107,7 @@ def _get_session(self):
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()

0 comments on commit 7714816

Please sign in to comment.
Something went wrong with that request. Please try again.