Commit f6075b05 authored by Tim Graham's avatar Tim Graham
Browse files

[1.5.x] Fixed #19683 - Added a missing import in signing example.

Thanks sunsongxp@ for the report.

Backport of 537d44b1 from master
parent c87f89c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,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)