﻿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
25435	Add support for request.urlconf to CurrentSiteMiddleware	Nick Pope	Nick Pope	"There are a number of situations in which it would be useful to be able to configure `request.urlconf` on a per-site basis. In some cases we may have separate sites using the same code base but a different structure of URLs or serving up different content, e.g. a REST API. I have also had to cater for a situation where I needed another version of a site on a different sub-domain with access to a restricted set of URLs that the main site provides.

I have been using the sites framework and propose the addition of a `urlconf` field to `Site` such that the `CurrentSiteMiddleware` can use `request.site.urlconf` to set `request.urlconf`. This also has the benefit that accessing the site with different `Host` headers can result in serving up the different URLconf automatically based on the site that was accessed. "	New feature	closed	contrib.sites	dev	Normal	wontfix			Unreviewed	1	0	0	0	0	0
