summaryrefslogtreecommitdiff
path: root/app/planner/urls.py
blob: 2ccedc3808ec24c321c49f7b583b63195fd2fb4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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/<int:pk>/',
        views.PlannerUpdateView.as_view(),
        name="update"
    ),
    path(
        r'',
        views.PlannerListView.as_view(),
        {'page':1}, 
        name="list"
    ),
]