From f6075b0596e20951bd8232f09d97fb7fac08308c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 29 Jan 2013 06:12:33 -0500 Subject: [PATCH] [1.5.x] Fixed #19683 - Added a missing import in signing example. Thanks sunsongxp@ for the report. Backport of 537d44b1b9 from master --- docs/topics/signing.txt | 1 + 1 file changed, 1 insertion(+) 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)