mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #33562 -- Made HttpResponse.set_cookie() support timedelta for the max_age argument.
This commit is contained in:
committed by
Mariusz Felisiak
parent
1882f6567d
commit
ae2da5ba65
@@ -281,7 +281,8 @@ Models
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* :meth:`.HttpResponse.set_cookie` now supports :class:`~datetime.timedelta`
|
||||
objects for the ``max_age`` argument.
|
||||
|
||||
Security
|
||||
~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user