﻿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
32470	django.test.Client ignores request.urlconf when setting response.resolver_match	Marc Gibbons	Marc Gibbons	"This bug is present in versions 2.2+.

When `request.urlconf` is set by middleware, and points to a module other than the `ROOT_URLCONF`, the test client request will either:
a) Raise a `Resolver404` if the path resolved is not part of the `ROOT_URLCONF` (even though the client has performed a successful request); or
b) Resolve the path from `ROOT_URLCONF` module instead of the one set on the `request.urlconf` attribute.

This occurs because the resolution of `response.resolver_match` only considers the request path.

"	Bug	closed	Testing framework	dev	Normal	fixed	test client,urlconf,middleware,resolver_match,request,response		Ready for checkin	1	0	0	0	0	0
