diff options
| author | Blake Griffith <cowlicks@riseup.net> | 2017-02-27 22:36:37 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-02-28 09:35:41 -0500 |
| commit | 81957086c187929a2a3de495087dcaef7bb339df (patch) | |
| tree | c330e869c34ca2c65bf53bb739b02a5dee7255cb | |
| parent | 60e52a047e55bc4cd5a93a8bd4d07baed27e9a22 (diff) | |
Clarified HMAC usage in signing.dumps() docstring.
| -rw-r--r-- | django/core/signing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/signing.py b/django/core/signing.py index f9ee60dae8..c6ed5fe36e 100644 --- a/django/core/signing.py +++ b/django/core/signing.py @@ -92,7 +92,7 @@ class JSONSerializer: def dumps(obj, key=None, salt='django.core.signing', serializer=JSONSerializer, compress=False): """ - Return URL-safe, sha1 signed base64 compressed JSON string. If key is + Return URL-safe, hmac/SHA1 signed base64 compressed JSON string. If key is None, use settings.SECRET_KEY instead. If compress is True (not the default), check if compressing using zlib can |
