Kaydet (Commit) 77148169 authored tarafından Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss

Refs #5513: improved session performance after [6333]'s session refactoring. Thanks, msaelices.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 0f4fb975
......@@ -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
......
......@@ -107,7 +107,7 @@ class SessionBase(object):
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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment