from django.conf.urls import url from . import views urlpatterns = [ url(r'^invoice/$',views.InvoiceView.as_view()) ]