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
|
from django.urls import path
from . import views
app_name = "engagements"
urlpatterns = [
path("", views.engagement_planning, name="home"),
path("<int:pk>", views.engagement_detail, name="engagement_detail"),
path("plan/<slug:orgslug>/", views.engagement_plan_for, name="plan_for_org"),
path(
"regulatedentities/",
views.RegulatedEntitiesView.as_view(),
name="regulatedentities",
),
path("edit/<int:eid>", views.engagement_edit, name="edit"),
path("effort/<int:effort_id>/detail/", views.effort_detail, name="effort_detail"),
path("create/<slug:slug>/", views.engagement_create, name="create"),
path("create/<slug:slug>/<str:reg>", views.engagement_create, name="create"),
path("es-create/", views.CreateEngagementStrategy.as_view(), name="es-create"),
path(
"effort/create/<int:eid>/<str:etype>",
views.engagement_effort_create,
name="effort_create",
),
]
htmx_urls = [path("htmx-effort-planned/<int:effid>", views.htmx_effort_planned, name="htmx-effort-planned")]
urlpatterns = urlpatterns + htmx_urls
|