from django.urls import path, re_path from . import views app_name = "luxbudget" urlpatterns = [ path( 'cat', views.LuxSourceModelFormView.as_view(), name='createcatview' ), path( 'record', views.PurchaseModelFormView.as_view(), name='createview' ), path( 'purchase/', views.PurchaseUpdateView.as_view(), name='detail' ), path( '', views.LuxPurchaseListView.as_view(), {'page':1}, name='list' ), ]