Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 771481695f0e53556824bdd64662efea87d55f32 1 parent 0f4fb97
@jacobian jacobian authored
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()
Please sign in to comment.
Something went wrong with that request. Please try again.