from django.conf.urls import url from analytics import views urlpatterns = [ url(r'^$', views.index_view), url(r'^new/$', views.new_view), ]