Opened 7 weeks ago
Closed 7 weeks ago
#35785 closed Uncategorized (invalid)
wrong import in documebt
Reported by: | AliEyvazi | Owned by: | |
---|---|---|---|
Component: | Documentation | Version: | 5.0 |
Severity: | Normal | Keywords: | Document |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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 , 7 weeks 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.