Fixed the session backend for django 1.4

Signed-off-by: Nils Hasenbanck <nils@hasenbanck.de>
This commit is contained in:
Nils Hasenbanck 2012-03-24 11:07:37 +01:00
parent 0f420abc8e
commit e2bef076d3

View File

@ -41,7 +41,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: