﻿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
7810	Url to contrib.admindocs is still hardcoded in base template of contrib.admin	Remco Wendt	Jacob	"In revision 7947 of newforms-admin, the base template of contrib.admin app still hardlinks to the admindocs with: 

{{{
#!python
<a href=""{{ root_path }}doc/"">{% trans 'Documentation' %}</a>
}}}

This behaviour is incorrect, since users now decide for themselves where the admindocs recide. The hard coding of the url effectively forces a user to add:

{{{
#!python
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
}}}

Above their admin app mapping in urls.py. In the current situation changing the url to for example be: 

{{{
#!python
    (r'^admin/documentation/', include('django.contrib.admindocs.urls')),
}}}

In #6962 it was already mentioned to use a named url, since there is coupling between the admin and admindocs app anyway.


"		closed	contrib.admin	dev		fixed			Accepted	1	0	0	1	0	0
