Fixed #3080 -- Fixed bug in delete_cookie() method. Thanks, nowell strite
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e6babbfe5f
commit
a1cd3c9f52
1
AUTHORS
1
AUTHORS
|
@ -151,6 +151,7 @@ answer newbie questions, and generally made Django that much better:
|
|||
SmileyChris <smileychris@gmail.com>
|
||||
sopel
|
||||
Thomas Steinacher <tom@eggdrop.ch>
|
||||
nowell strite
|
||||
Radek Švarz <http://www.svarz.cz/translate/>
|
||||
Swaroop C H <http://www.swaroopch.info>
|
||||
Aaron Swartz <http://www.aaronsw.com/>
|
||||
|
|
|
@ -208,7 +208,7 @@ class HttpResponse(object):
|
|||
if path is not None:
|
||||
self.cookies[key]['path'] = path
|
||||
if domain is not None:
|
||||
self.cookies[key]['domain'] = path
|
||||
self.cookies[key]['domain'] = domain
|
||||
self.cookies[key]['expires'] = 0
|
||||
self.cookies[key]['max-age'] = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue