#27396: Docs: send POST request on base.html does not mention {{ csrf_token }}
-------------------------------------+-------------------------------------
Reporter: Ramin Farajpour | Owner: nobody
Cami |
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
| worksforme
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Aymeric Augustin):
* status: new => closed
* resolution: => worksforme
Comment:
Your use case is documented here:
https://docs.djangoproject.com/en/1.10/ref/csrf/#unprotected-view-needs-
the-csrf-token
Django doesn't ship JavaScript code that would take advantage the <meta>
tag you're describing so there's no use describing that (except if it's a
built-in behavior in browsers, which is why I asked for evidence of that
behavior, because I'd be surprised if it existed).
--
Ticket URL: <https://code.djangoproject.com/ticket/27396#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.06090acdbd6ca55841a53856af977f07%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.