﻿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
15876	Document that test.client.RequestFactory doesn't support sessions or request-altering middleware	Paul Winkler	ShawnMilo	"Since #15736 has been closed ""wontfix"", I think it could be classified as a documentation problem:
the !RequestFactory docs at
http://docs.djangoproject.com/en/dev/topics/testing/#the-request-factory
make it sound like !RequestFactory().get() creates a request that is equivalent to that used by TestClient.get().
But this is not true - TestClient goes out of its way to handle django.contrib.session, and loads middleware; RequestFactory does neither - and based on the response to #15736 that's by design.

So that should be explicit in the docs.
"	Bug	closed	Documentation	1.3	Normal	fixed			Ready for checkin	1	0	0	0	0	0
