missing module prefix
This commit is contained in:
parent
ef364f42cf
commit
4932bb1001
|
@ -4,5 +4,5 @@ from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^$', views.NewsIndex.as_view(), name='index'),
|
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'),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue