from django.conf.urls import url from workreport.views import DailyReportViews urlpatterns = [] urlpatterns += [ url(r'^dailyreport/', DailyReportViews.as_view()) ]