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:
Jannis Leidel 2011-06-27 09:00:12 +00:00
parent 0e27c49210
commit d400ff4f13
1 changed files with 1 additions and 1 deletions

View File

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