﻿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
16704	Documentation on using csrf_token with non-Django template engine	vietjtnguyen@…	paulcwatts	"I've been teaching myself Django today by going through your tutorials. The system is great! The tutorials are great as well. Thank you very much.

I'm a big fan of the Cheetah template engine so from the get-go I've been trying to set up my Django to use Cheetah. One thing I noticed though is the Django template engine has a special handler for the `{% csrf_token %}` token. I had to delve into the handler for that token to figure out what to do for Cheetah. I think it's worth adding to the documentation that if they're using a non-Django template engine they should use the following HTML code in lieu of the `{% csrf_token %}`:

{{{
<div style=""display:none""><input type=""hidden"" name=""csrfmiddlewaretoken"" value=""$csrf_token""/></div>
}}}"	New feature	closed	Documentation	1.3	Normal	fixed			Ready for checkin	1	0	0	0	1	0
