﻿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
34953	CSRF verification fails even with CSRF middleware commented out	Fabio Araujo	nobody	"I'm running Django 4.2.5 in a development environment and the CSRF middleware is not behaving as expected.

First, it was raising CSRF verification fail even when I knew the requests were being made from my own application. This happens inconsistently. Sometimes just by refreshing the page it works. 

So I set the CSRF_TRUSTED_ORIGINS to try to get it working. It still behave the same way, sometimes throwing the exception and sometimes not, for the same views.

The next thing I tried was to completely bypass the CSRF verification by commenting out the `django.middleware.csrf.CsrfViewMiddleware`. To my profound astonishment, it still raises the error even though I thought it should never even check the CSRF token in the first place."	Bug	closed	CSRF	4.2	Normal	invalid			Unreviewed	0	0	0	0	0	0
