Fixed the session backend for django 1.4
Signed-off-by: Nils Hasenbanck <nils@hasenbanck.de>
This commit is contained in:
		| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user