aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/urls.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-13 10:19:20 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-13 10:19:20 +0100
commitaa343e46247b6a55bd0d26dad1d0b9dabaf04851 (patch)
tree5e16f29164af9d36a33d6a115248df49717885b1 /ctrack/register/urls.py
parent29028b60b46693c2ad9e786a61bd5e94bf6c7fa6 (diff)
first VERY BASIC view test working
Diffstat (limited to '')
-rw-r--r--ctrack/register/urls.py26
1 files changed, 19 insertions, 7 deletions
diff --git a/ctrack/register/urls.py b/ctrack/register/urls.py
index d5c21cb..fb05a02 100644
--- a/ctrack/register/urls.py
+++ b/ctrack/register/urls.py
@@ -1,21 +1,33 @@
from django.urls import path
-from ctrack.register.views import EngagementEventCreate, EngagementEventDelete, EngagementEventCreateFromCaf, \
- SingleDateTimeEventCreate
+from ctrack.register.views import (
+ EngagementEventCreate,
+ EngagementEventDelete,
+ EngagementEventCreateFromCaf,
+ SingleDateTimeEventCreate,
+)
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"
+ "engagement-event/delete/<int:pk>/for-org/<slug:slug>",
+ view=EngagementEventDelete.as_view(),
+ name="ee_delete",
),
path(
- "engagement-event/create/from-caf/<int:caf_id>", view=EngagementEventCreateFromCaf.as_view(), name="create_from_caf"
+ "engagement-event/create/from-caf/<int:caf_id>",
+ view=EngagementEventCreateFromCaf.as_view(),
+ name="create_from_caf",
),
path(
- "event/create-single-datetime", view=SingleDateTimeEventCreate.as_view(), name="event_create_singledatetime"
- )
+ "event/create-single-datetime",
+ view=SingleDateTimeEventCreate.as_view(),
+ name="event_create_singledatetime",
+ ),
]