from django.urls import path, re_path from . import views app_name = "luxplanner" urlpatterns = [ path( r'camp/add', views.PlannerModelFormView.as_view(), name="create" ), path( r'camp/edit//', views.PlannerUpdateView.as_view(), name="update" ), path( r'', views.PlannerListView.as_view(), {'page':1}, name="list" ), ]