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 2964 [PATCH] typo in docstring for django.views.generic.simple.redirect_to() wam-djangobug@… Jacob "The docstring for django.views.generic.simple.redirect_to states: {{{ [snip] you could use the following URLconf:: urlpatterns = patterns('', ('^foo/(?p\d+)/$', 'django.views.generic.simple.redirect_to', {'url' : '/bar/%(id)s/'}), ) }}} In this example though, the regex is incorrect since the real syntax for a named pattern uses a capital 'P'. It should read: {{{ ('^foo/(?P\d+)/$', 'django.views.generic.simple.redirect_to', {'url' : '/bar/%(id)s/'}), }}} It's a pretty trivial bug, but one with one character fix so figure I'd report it. " defect closed Generic views dev trivial fixed typo Unreviewed 0 0 0 0 0 0