﻿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
20645	reverse URL broken when you use includes	ryan.ploetz@…	nobody	"if you use an include in your base URLConf and then use a name='' in that subsequent URLConf, the name doesn't resolve when you do a reverse match in the url tag in a template.

Example:

Root
url.py

urlpatterns = patterns('',

    url(r'^bar/', include('bar.urls')),

)

Bar
url.py

urlpatterns = patterns('bar.views',

    url(r'^makeFoo/$', foo, name=""generateFoo""),

)

in a HTML Template

{% url ""generateFoo"" %}

This generates a NoReverseMatch

If you put that named url in the root url patterns, the Reverse will find it and render it normally.  "	Uncategorized	new	Template system	1.5	Normal				Unreviewed	0	0	0	0	0	0
