From 0f951dcf029d4af284467543a3afdf5bf6581a20 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 23 Apr 2024 11:16:38 +0100 Subject: switched to Django --- engagements/urls.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 engagements/urls.py (limited to 'engagements/urls.py') diff --git a/engagements/urls.py b/engagements/urls.py new file mode 100644 index 0000000..7b6ddd3 --- /dev/null +++ b/engagements/urls.py @@ -0,0 +1,29 @@ +from django.urls import path + +from . import views + +app_name = "engagements" +urlpatterns = [ + path("", views.engagement_planning, name="home"), + path("", views.engagement_detail, name="engagement_detail"), + path("plan//", views.engagement_plan_for, name="plan_for_org"), + path( + "regulatedentities/", + views.RegulatedEntitiesView.as_view(), + name="regulatedentities", + ), + path("edit/", views.engagement_edit, name="edit"), + path("create//", views.engagement_create, name="create"), + path("create//", views.engagement_create, name="create"), + path( + "effort/create//", + views.engagement_effort_create, + name="effort_create", + ), +] + +htmx_urls = [ + path("htmx-effort-planned/", views.htmx_effort_planned, name="htmx-effort-planned") +] + +urlpatterns = urlpatterns + htmx_urls -- cgit v1.2.3