﻿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
3525	{% url path.to.view %} fails with multiple patterns for the same function	omat@…	Adrian Holovaty	"If there are multiple patterns matching the same view function, it seems like, only the first match is considered. 

Lets say a function has an optional ""id"" parameter which defaults to None and below is the patterns pointing that function.

(r'^(?P<slug>[-\w]+)/$', views.myfunc),

(r'^(?P<slug>[-\w]+)/(?P<id>\d+)/$', views.myfunc),

In that case,

{% url views.myfunc slug=something,id=someint %}

fails to match anything, where we can expect it to match the second
pattern and return ""/something/someint/""
"		new	Template system	dev			url, template		Unreviewed	0	0	0	0	0	0
