from django.conf.urls import url from event.views import Index app_name = 'event' urlpatterns = [ url(r'^$', Index.as_view(), name='index'), ]