﻿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
24695	URL regex has unnecessary _	Lachlan Musicman	nobody	"On this page:

https://docs.djangoproject.com/en/1.8/ref/class-based-views/generic-display/

Under myapps/urls.py in the DetailView

...

{{{

urlpatterns = [
    url(r'^(?P<slug>[-_\w]+)/$', ArticleDetailView.as_view(), name='article-detail'),
]
}}}



The _ is unnecessary, as it's already in \w

The regex should read 

{{{

?P<slug>[-\w]+
}}}
"	Bug	closed	Documentation	1.8	Normal	fixed			Accepted	1	0	0	0	1	0
