from django.urls import path, re_path from . import views app_name = "luxtrade" urlpatterns = [ path( 'model', views.TradeModelFormView.as_view(), name='testtrade' ), path( 'trade/', views.LuxTradeDetailView.as_view(), name='detail' ), path( '', views.LuxTradeListView.as_view(), {'page':1}, name='list' ), ]