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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
from django.urls import path
from ctrack.register.views import (
EngagementEventCreate,
EngagementEventCreateFromCaf,
EngagementEventDelete,
SingleDateTimeEventCreate, SingleDateTimeEventUpdate, CreateNoteEvent, CAFCreateSingleDateEventView,
CreateNoteEventFromOrg,
)
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/update-simple-event/<int:pk>/<slug:org_slug>",
view=SingleDateTimeEventUpdate.as_view(),
name="event_update_simple_event_from_org",
),
path(
"event/create-simple-event-from-org/<slug:org_slug>",
view=SingleDateTimeEventCreate.as_view(),
name="event_create_simple_event_from_org",
),
path(
"event/create-simple-event-from-org/<slug:org_slug>/<str:event_type>",
view=SingleDateTimeEventCreate.as_view(),
name="event_create_simple_event_from_org_with_type",
),
path(
"event/create-note",
view=CreateNoteEvent.as_view(),
name="event_create_note"
),
path(
"event/create-note-for-org/<slug:org_slug>",
view=CreateNoteEventFromOrg.as_view(),
name="event_create_note_from_org"
),
path(
"event/create-caf-single-date-event/<int:caf_id>",
view=CAFCreateSingleDateEventView.as_view(),
name="event_caf_create_single_date_event_from_caf"
)
# path(
# "event/create-caf-single-date-event",
# view=CAFSingleDateEventView.as_view(),
# name="create_caf_single_date_event"
# )
]
|