Ticket #5513: sessions_speedup_6364.diff

File sessions_speedup_6364.diff, 546 bytes (added by msaelices, 8 years ago)

Fix for speedup sessions (like was before changeset [6333])

  • django/contrib/sessions/backends/base.py

     
    107107        try:
    108108            return self._session_cache
    109109        except AttributeError:
    110             if self.session_key is None:
     110            if self._session_key is None:
    111111                self._session_cache = {}
    112112            else:
    113113                self._session_cache = self.load()
Back to Top