diff options
Diffstat (limited to 'app/planner/urls.py')
-rw-r--r-- | app/planner/urls.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/planner/urls.py b/app/planner/urls.py index b9bd2b1..2ccedc3 100644 --- a/app/planner/urls.py +++ b/app/planner/urls.py @@ -5,12 +5,17 @@ from . import views app_name = "luxplanner" urlpatterns = [ - re_path( + path( r'camp/add', views.PlannerModelFormView.as_view(), name="create" ), - re_path( + path( + r'camp/edit/<int:pk>/', + views.PlannerUpdateView.as_view(), + name="update" + ), + path( r'', views.PlannerListView.as_view(), {'page':1}, |