aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/urls.py
blob: 1cdd92f3b098a3e570c4ffa29186d8ae0c445812 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
from django.urls import path

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",
    ),
    path(
        "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",
    ),
    path(
        "event/create-simple-event",
        view=SingleDateTimeEventCreate.as_view(),
        name="event_create_simple_event",
    ),
    # path(
    #     "event/create-caf-single-date-event",
    #     view=CAFSingleDateEventView.as_view(),
    #     name="create_caf_single_date_event"
    # )
]