#27396: Docs: send POST request on base.html does not mention {{ csrf_token }}
-------------------------------------+-------------------------------------
Reporter: Ramin Farajpour | Owner: nobody
Cami |
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Ramin Farajpour Cami):
Hi Tim,
i going to more info for you first time you should sure Afterwards patch,
my means of this ticket ,
{{{
def index(req):
return render(req,'index.html')
}}}
and index.html `extend` with base.html , when render index.html both
index.html and base.html handel on browser, now if users use AJAX on
base.html in i see on django csrf_token can not handel on base.html , do
you think i am mistake please clarification to me,because i see behavior
of django ,
rails create meta csrf for layout.html (in django : base.html),
--
Ticket URL: <https://code.djangoproject.com/ticket/27396#comment:5>
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.8611030d9955b3b320ca244a12bfe5ca%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.