diff options
| author | Tim Graham <timograham@gmail.com> | 2013-01-29 06:12:33 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-01-29 06:13:47 -0500 |
| commit | f6075b0596e20951bd8232f09d97fb7fac08308c (patch) | |
| tree | a736043307c50f84c3d98e5fa6cda0ef5b13d934 /docs | |
| parent | c87f89c0db9314d26a3ad9afceb812e2d2f07f96 (diff) | |
[1.5.x] Fixed #19683 - Added a missing import in signing example.
Thanks sunsongxp@ for the report.
Backport of 537d44b1b9 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/signing.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/topics/signing.txt b/docs/topics/signing.txt index 07de97e2f3..671f2472d5 100644 --- a/docs/topics/signing.txt +++ b/docs/topics/signing.txt @@ -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) |
