﻿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
21988	reverse() shouldn't require kwargs for uniquely determined named groups	Chris Jerdonek	nobody	"For DRY purposes, it can be useful to capture a known substring in an URL for access from a view.  For example--

{{{
url(r'^(?P<action>create)/confirm/$', ConfirmCreateView.as_view(),
    name='confirm_create')
url(r'^(?P<action>change)/confirm/$', ConfirmChangeView.as_view(),
    name='confirm_change')
}}}

Calling `reverse()` for examples like the above still requires passing the keyword argument though (`action='create'` or `action='change'` in these examples), even though the value of the keyword argument isn't necessary to construct the corresponding URL.  This makes calling `reverse()` less DRY than it needs to be.

I would like to suggest making `reverse()` not require the keyword arguments in cases where the corresponding named groups have only one possible value.  If this isn't possible to add, are there any suggestions for a DRY way to accomplish the same thing?

"	New feature	closed	Core (URLs)	1.6	Normal	worksforme		chris.jerdonek@…	Unreviewed	0	0	0	0	0	0
