summaryrefslogtreecommitdiff
path: root/app/planner/urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2021-08-07 13:42:45 -0400
committerluxagraf <sng@luxagraf.net>2021-08-07 13:42:45 -0400
commit3ae41e4ae474f004039627e25282ca8840364d52 (patch)
tree47b672c40e277175b963429b51e4f469d1ddea17 /app/planner/urls.py
parent6a9c1dca17f2e4c620980dd7728c96e92ac4a584 (diff)
plan: added visual cues for water, electric, dump
Diffstat (limited to 'app/planner/urls.py')
-rw-r--r--app/planner/urls.py9
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},