Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Jacob Kaplan-Moss authored September 16, 2007
1  AUTHORS
@@ -196,6 +196,7 @@ answer newbie questions, and generally made Django that much better:
196 196
     Waylan Limberg <waylan@gmail.com>
197 197
     limodou
198 198
     Philip Lindborg <philip.lindborg@gmail.com>
  199
+    msaelices <msaelices@gmail.com>
199 200
     Matt McClanahan <http://mmcc.cx/>
200 201
     Martin Maney <http://www.chipy.org/Martin_Maney>
201 202
     masonsimon+django@gmail.com
2  django/contrib/sessions/backends/base.py
@@ -107,7 +107,7 @@ def _get_session(self):
107 107
         try:
108 108
             return self._session_cache
109 109
         except AttributeError:
110  
-            if self.session_key is None:
  110
+            if self._session_key is None:
111 111
                 self._session_cache = {}
112 112
             else:
113 113
                 self._session_cache = self.load()

0 notes on commit 7714816

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