Ticket #3952: session-has_key.patch
File session-has_key.patch, 500 bytes (added by , 18 years ago) |
---|
-
django/contrib/sessions/middleware.py
36 36 def get(self, key, default=None): 37 37 return self._session.get(key, default) 38 38 39 def has_key(self, key): 40 return self._session.has_key(key) 41 39 42 def set_test_cookie(self): 40 43 self[TEST_COOKIE_NAME] = TEST_COOKIE_VALUE 41 44