Fixing sessions for django 1.3 and django 1.4
This commit is contained in:
parent
88dc64653e
commit
a928047147
2 changed files with 16 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class SessionStore(SessionBase):
|
|||
|
||||
def create(self):
|
||||
while True:
|
||||
self.session_key = self._get_new_session_key()
|
||||
self._session_key = self._get_new_session_key()
|
||||
try:
|
||||
self.save(must_create=True)
|
||||
except CreateError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue