Ticket #4729: sessionwrapper_pop_modified.2.patch
File sessionwrapper_pop_modified.2.patch, 471 bytes (added by , 17 years ago) |
---|
-
django/contrib/sessions/middleware.py
37 37 return self._session.get(key, default) 38 38 39 39 def pop(self, key, *args): 40 self.modified = self.modified or key in self._session 40 41 return self._session.pop(key, *args) 41 42 42 43 def set_test_cookie(self):