﻿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
15518	Separate CSRF checks to function	Vlastimil Zíma	nobody	"I have troubles with enabling CSRF check in some of my views because there is no function that would return True/False or raised an exception.

My situation is like this:
I have 2 views, one that is protected by CSRF and other one is not. Both views calls same rendering function which renders a form that leads to protected view.
Problem is when first request ends at unprotected view, I have no CSRF_COOKIE in request.META and csrf_token template tag did not rendered one, so rendering returns a form that will always return CSRF reject page."	New feature	closed	Documentation	1.2	Normal	fixed			Accepted	0	0	0	0	0	0
