Opened 5 months ago
Closed 5 months ago
#35785 closed Uncategorized (invalid)
wrong import in documebt
Description (last modified by ) ¶
Dear friends
While i was studying Django Ducument, i encounter with an incorrect import.
In this page: "https://docs.djangoproject.com/en/5.1/topics/signing/#signing-complex-data" approximately in the middle of page,
there is an incorrect import:
>>> ---- == from django.core import signing >>> value += "m" >>> try: ... original = signer.unsign(value) ... except signing.BadSignature: ... print("Tampering detected!") ...
hope to be useful for you and others.
regards
Ali
Change History (1)
comment:1 by , 5 months ago
Component: | Uncategorized → Documentation |
---|---|
Description: | modified (diff) |
Resolution: | → invalid |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Thanks for the ticket, however, I see nothing wrong in this import. It works for me.