﻿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
15115	"AdminSite and templates hard-code the ""admin"" namespace in places"	Christian Hammond	nobody	"It's documented that a custom AdminSite can specify a custom name, which will be used in the namespace for the URLs. Parts of the admin code factor this in, but other don't.

I have a a patch to cover two cases where it's hard-coded, but I don't have an immediate solution for the templates. The templates do such things as:

{{{
{% url 'admin:jsi18n' as jsi18nurl %}
}}}

What's really needed is something to prefix the site.name variable. I'd be happy to work on a fix, but would need some idea as to what direction you guys would prefer. A custom template tag that factors it in? Some sort of new parameter to url that allows the namespace to be set via a variable? The URL pre-computed and passed in to all admin site contexts?"		closed	Uncategorized	1.2		invalid			Unreviewed	1	0	0	0	0	0
