Clarified HMAC usage in signing.dumps() docstring.

This commit is contained in:
Blake Griffith 2017-02-27 22:36:37 -08:00 committed by Tim Graham
parent 60e52a047e
commit 81957086c1
1 changed files with 1 additions and 1 deletions

View File

@ -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