from django.conf.urls import url from . import views urlpatterns = [ url(r'^index/$', views.index_page, name='index'), ]