Fixed #16354 -- Fixed typo in signing docstring. Thanks, charettes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
0e27c49210
commit
d400ff4f13
|
@ -6,7 +6,7 @@ The format used looks like this:
|
||||||
>>> signing.dumps("hello")
|
>>> signing.dumps("hello")
|
||||||
'ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk'
|
'ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk'
|
||||||
|
|
||||||
There are two components here, separatad by a ':'. The first component is a
|
There are two components here, separated by a ':'. The first component is a
|
||||||
URLsafe base64 encoded JSON of the object passed to dumps(). The second
|
URLsafe base64 encoded JSON of the object passed to dumps(). The second
|
||||||
component is a base64 encoded hmac/SHA1 hash of "$first_component:$secret"
|
component is a base64 encoded hmac/SHA1 hash of "$first_component:$secret"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue