Ticket #2503: delete_cookie.diff

File delete_cookie.diff, 469 bytes (added by ludo@…, 9 years ago)
  • D:/Python24/Lib/site-packages/django/http/__init__.py

     
    205205
    206206    def delete_cookie(self, key):
    207207        try:
    208             self.cookies[key]['max_age'] = 0
     208            self.cookies[key]['max-age'] = 0
    209209        except KeyError:
    210210            pass
    211211
Back to Top