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