1
0
mirror of https://github.com/django/django.git synced 2025-01-09 09:55:57 +00:00

Fixed #19683 - Added a missing import in signing example.

Thanks sunsongxp@ for the report.
This commit is contained in:
Tim Graham 2013-01-29 06:12:33 -05:00
parent f7394d2c32
commit 537d44b1b9

View File

@ -58,6 +58,7 @@ You can retrieve the original value using the ``unsign`` method::
If the signature or value have been altered in any way, a
``django.core.signing.BadSignature`` exception will be raised::
>>> from django.core import signing
>>> value += 'm'
>>> try:
... original = signer.unsign(value)