diff options
Diffstat (limited to 'app/planner/urls.py')
-rw-r--r-- | app/planner/urls.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/planner/urls.py b/app/planner/urls.py new file mode 100644 index 0000000..b9bd2b1 --- /dev/null +++ b/app/planner/urls.py @@ -0,0 +1,19 @@ +from django.urls import path, re_path + +from . import views + +app_name = "luxplanner" + +urlpatterns = [ + re_path( + r'camp/add', + views.PlannerModelFormView.as_view(), + name="create" + ), + re_path( + r'', + views.PlannerListView.as_view(), + {'page':1}, + name="list" + ), +] |