#15251: Ajax CSRF example doesn't work as documented ---------------------------+------------------------------------------------ Reporter: timo | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.2 Keywords: csrf ajax | Triage Stage: Unreviewed Has patch: 1 | ---------------------------+------------------------------------------------ The jQuery example on the 1.2.5 release notes page uses $("#csrfmiddlewaretoken") but {% csrf_token %} doesn't appear to render with an ID attribute. $("input[name=csrfmiddlewaretoken]") works for me.
-- Ticket URL: <http://code.djangoproject.com/ticket/15251> Django <http://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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.