Skip to content

Commit

Permalink
Refs #5513: improved session performance after [6333]'s session refac…
Browse files Browse the repository at this point in the history
…toring. Thanks, msaelices.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jacobian committed Sep 16, 2007
1 parent 0f4fb97 commit 7714816
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Expand Up @@ -196,6 +196,7 @@ answer newbie questions, and generally made Django that much better:
Waylan Limberg <waylan@gmail.com> Waylan Limberg <waylan@gmail.com>
limodou limodou
Philip Lindborg <philip.lindborg@gmail.com> Philip Lindborg <philip.lindborg@gmail.com>
msaelices <msaelices@gmail.com>
Matt McClanahan <http://mmcc.cx/> Matt McClanahan <http://mmcc.cx/>
Martin Maney <http://www.chipy.org/Martin_Maney> Martin Maney <http://www.chipy.org/Martin_Maney>
masonsimon+django@gmail.com masonsimon+django@gmail.com
Expand Down
2 changes: 1 addition & 1 deletion django/contrib/sessions/backends/base.py
Expand Up @@ -107,7 +107,7 @@ def _get_session(self):
try: try:
return self._session_cache return self._session_cache
except AttributeError: except AttributeError:
if self.session_key is None: if self._session_key is None:
self._session_cache = {} self._session_cache = {}
else: else:
self._session_cache = self.load() self._session_cache = self.load()
Expand Down

0 comments on commit 7714816

Please sign in to comment.