aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/urls.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/urls.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/ctrack/organisations/urls.py b/ctrack/organisations/urls.py
index 09743af..5ccfca0 100644
--- a/ctrack/organisations/urls.py
+++ b/ctrack/organisations/urls.py
@@ -1,11 +1,21 @@
from django.urls import path
-from ctrack.organisations.views import OrganisationDetailView, OrganisationListView, OrganisationCreate
+from ctrack.organisations.views import (
+ IncidentReportCreateView,
+ OrganisationCreate,
+ OrganisationDetailView,
+ OrganisationListView,
+)
app_name = "organisations"
urlpatterns = [
path("<slug:slug>/", view=OrganisationDetailView.as_view(), name="detail"),
+ path(
+ "<slug:slug>/create-incident-report/",
+ view=IncidentReportCreateView.as_view(),
+ name="create_incident_report",
+ ),
path("", view=OrganisationListView.as_view(), name="list"),
path("create", view=OrganisationCreate.as_view(), name="create")
# path("create", view=OrganisationCreate.as_view(), name="create")