1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Removed u'' prefx in django/core/signing.py comment.

This commit is contained in:
Srinivas Reddy Thatiparthy 2017-01-20 18:08:17 +05:30 committed by Tim Graham
parent 109b33f64c
commit ec4c1d6717

View File

@ -14,7 +14,7 @@ signing.loads(s) checks the signature and returns the deserialized object.
If the signature fails, a BadSignature exception is raised.
>>> signing.loads("ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk")
u'hello'
'hello'
>>> signing.loads("ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk-modified")
...
BadSignature: Signature failed: ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk-modified