From 81957086c187929a2a3de495087dcaef7bb339df Mon Sep 17 00:00:00 2001 From: Blake Griffith Date: Mon, 27 Feb 2017 22:36:37 -0800 Subject: [PATCH] Clarified HMAC usage in signing.dumps() docstring. --- django/core/signing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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