Ticket #1339: sessions.diff

File sessions.diff, 502 bytes (added by ned@…, 19 years ago)

Patch to sessions.py

  • middleware/sessions.py

     
    2525        del self._session[key]
    2626        self.modified = True
    2727
     28    def keys(self):
     29        return self._session.keys()
     30
     31    def items(self):
     32        return self._session.items()
     33
    2834    def get(self, key, default=None):
    2935        return self._session.get(key, default)
    3036
Back to Top