missing module prefix

This commit is contained in:
Thomas Steen Rasmussen 2016-06-05 23:26:54 +02:00
parent ef364f42cf
commit 4932bb1001

View file

@ -4,5 +4,5 @@ from . import views
urlpatterns = [
url(r'^$', views.NewsIndex.as_view(), name='index'),
url(r'(?P<slug>[-_\w+]+)/$', NewsDetail.as_view(), name='detail'),
url(r'(?P<slug>[-_\w+]+)/$', views.NewsDetail.as_view(), name='detail'),
]