#15354: Cookie with CSRF token not always available for AJAX Post requests
------------------------------------+------------------------------
Reporter: sayane | Owner: nobody
Type: Bug | Status: closed
Milestone: 1.3 | Component: contrib.csrf
Version: SVN | Severity: Normal
Resolution: fixed | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
------------------------------------+------------------------------
Comment (by lukeplant):
Replying to [comment:10 anonymous]:
> Couldn't you just use...
This will only work if the CSRF middleware is installed,
`ensure_csrf_cookie` works in either case.
--
Ticket URL: <https://code.djangoproject.com/ticket/15354#comment:11>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.