Changes between Initial Version and Version 1 of Ticket #19683
- Timestamp:
- Jan 28, 2013, 9:50:28 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19683
- Property Triage Stage Unreviewed → Accepted
- Property Type Uncategorized → Bug
-
Ticket #19683 – Description
initial v1 3 3 In this page, which is about signing, enumerates several examples about how to use it. When it comes to that handling Exception, to be specific, 4 4 5 {{{ 5 6 >>> value += 'm' 6 7 >>> try: … … 8 9 ... except signing.BadSignature: 9 10 ... print "Tampering detected!" 11 }}} 10 12 11 13 I found that these lines failed, the error shows signing.BadSignature is not defined, I tested a while, and then I knew, 12 14 15 {{{ 13 16 from django.core import signing 17 }}} 14 18 15 19 is required. The example miss that. I don't know if that count as a mistake. Besides, the information about previous line is so scarce in reference, do I need to check the source code?