from django conf urls import url from talks import views urlpatterns u

1
2
3
4
5
6
7
8
from django.conf.urls import url
from talks import views
urlpatterns = [
url(r'^talks/$', views.talk_list),
url(r'^talks/(?P<pk>[0-9]+)/$', views.talk_detail),
url(r'^talks/(?P<pk>[0-9]+)/published/$', views.talk_published),
]