mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Removed versionadded/changed annotations for 4.1.
This commit is contained in:
parent
ea92a4dc28
commit
490cccbe7e
49 changed files with 2 additions and 472 deletions
|
@ -857,11 +857,6 @@ Methods
|
|||
number of seconds, or ``None`` (default) if the cookie should last only
|
||||
as long as the client's browser session. If ``expires`` is not specified,
|
||||
it will be calculated.
|
||||
|
||||
.. versionchanged:: 4.1
|
||||
|
||||
Support for ``timedelta`` objects was added.
|
||||
|
||||
* ``expires`` should either be a string in the format
|
||||
``"Wdy, DD-Mon-YY HH:MM:SS GMT"`` or a ``datetime.datetime`` object
|
||||
in UTC. If ``expires`` is a ``datetime`` object, the ``max_age``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue