1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #27468 -- Added tests and release notes for signing.dumps()/loads() changes.

Follow up to 71c4fb7beb.
This commit is contained in:
Mariusz Felisiak
2020-07-31 07:33:13 +02:00
parent f4ac167119
commit 1d6fdca557
4 changed files with 17 additions and 5 deletions

View File

@@ -187,8 +187,8 @@ and tuples) if you pass in a tuple, you will get a list from
.. function:: dumps(obj, key=None, salt='django.core.signing', serializer=JSONSerializer, compress=False)
Returns URL-safe, sha1 signed base64 compressed JSON string. Serialized
object is signed using :class:`~TimestampSigner`.
Returns URL-safe, signed base64 compressed JSON string. Serialized object
is signed using :class:`~TimestampSigner`.
.. function:: loads(string, key=None, salt='django.core.signing', serializer=JSONSerializer, max_age=None)