aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/urls.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-09-29 16:21:13 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-09-29 16:21:13 +0100
commit1e2993a8e092bf4b725ebc23d6e79fe60a8b8978 (patch)
tree7f10d8d47d6abcac3441f5d2c653e2d74e49fad1 /ctrack/register/urls.py
parent7ad343a875a8dbd667824685065b905b14a49870 (diff)
Delete button now works for Engagement Event
Diffstat (limited to '')
-rw-r--r--ctrack/register/urls.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/ctrack/register/urls.py b/ctrack/register/urls.py
index ce8c9fd..b650402 100644
--- a/ctrack/register/urls.py
+++ b/ctrack/register/urls.py
@@ -1,11 +1,14 @@
from django.urls import path
-from ctrack.register.views import EngagementEventCreate
+from ctrack.register.views import EngagementEventCreate, EngagementEventDelete
app_name = "register"
urlpatterns = [
path(
- "engagement-event/create/from-org/<slug:slug>", view=EngagementEventCreate.as_view(), name="create"
+ "engagement-event/create/from-org/<slug:slug>", view=EngagementEventCreate.as_view(), name="create",
),
+ path(
+ "engagement-event/delete/<int:pk>/for-org/<slug:slug>", view=EngagementEventDelete.as_view(), name="ee_delete"
+ )
]