from django.conf.urls import url from . import views urlpatterns = [ url(r'^list/$', views.ServiceList.as_view(), name='service-list'), ]