﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15259	Django Weblog suggested workaround for XMLHttpRequest CSRF fix in 1.2.5 uses wrong jQuery selector	markhellewell	nobody	"The ""{% csrf_token %}"" template tag outputs a form field which looks like this:
{{{
<input type='hidden' name='csrfmiddlewaretoken' value='...'/>
}}}

but the jQuery example of how to include this in your XMLHttpRequest uses an id-style selector.  It should instead look like this:
{{{
$(""input[name='csrfmiddlewaretoken']"").val()
}}}"		closed	*.djangoproject.com	1.2		fixed	blocker		Accepted	0	0	0	0	0	0
