﻿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
15273	Extend RedirectView to allow named-URL reversal?	Simon Meers	nobody	"It would be nice to allow named-URL reversal in the new `RedirectView`.

Example workaround:
{{{
class NamedRedirectView(RedirectView):
    url_name = None

    def get_redirect_url(**kwargs):
        if self.url_name:
            return reverse(url_name)
        return super(NamedRedirectView, self).get_redirect_url(**kwargs)
}}}

{{{
url(r'^blah/', NamedRedirectView.as_view(url_name='xyz:abc')),
}}}

I would imagine it is fairly common to want to keep URLconfs DRY, so perhaps this should be built into `RedirectView` as an additional option? Of course reversing with args/kwargs is a different story altogether..."	New feature	closed	Generic views	dev	Normal	fixed			Unreviewed	1	0	0	0	1	0
