1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #21363 -- Added datetime.timedelta support to TimestampSigner.unsign().

This commit is contained in:
Berker Peksag
2014-11-15 12:03:04 +02:00
committed by Tim Graham
parent fa680ce1e2
commit d2d6c0c097
4 changed files with 25 additions and 2 deletions

View File

@@ -186,6 +186,13 @@ Cache
* The ``incr()`` method of the
``django.core.cache.backends.locmem.LocMemCache`` backend is now thread-safe.
Cryptography
^^^^^^^^^^^^
* The ``max_age`` parameter of the
:meth:`django.core.signing.TimestampSigner.unsign` method now also accept a
:py:class:`datetime.timedelta` object.
Database backends
^^^^^^^^^^^^^^^^^