from django.urls import path, re_path from . import views app_name = "luxplanner" urlpatterns = [ path( r'ideas', views.CampIdeaListView.as_view(), {'page':1}, name="idealist" ), path( r'ideas/add', views.PlannerModelFormView.as_view(), name="ideacreate" ), 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" ), ]