Kaydet (Commit) 81957086 authored tarafından Blake Griffith's avatar Blake Griffith Kaydeden (comit) Tim Graham

Clarified HMAC usage in signing.dumps() docstring.

üst 60e52a04
...@@ -92,7 +92,7 @@ class JSONSerializer: ...@@ -92,7 +92,7 @@ class JSONSerializer:
def dumps(obj, key=None, salt='django.core.signing', serializer=JSONSerializer, compress=False): 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. None, use settings.SECRET_KEY instead.
If compress is True (not the default), check if compressing using zlib can If compress is True (not the default), check if compressing using zlib can
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment