aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/urls.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ctrack/organisations/urls.py b/ctrack/organisations/urls.py
index b5dadee..33a741c 100644
--- a/ctrack/organisations/urls.py
+++ b/ctrack/organisations/urls.py
@@ -7,7 +7,7 @@ from ctrack.organisations.views import (
OrganisationListView,
PersonListView,
essential_service_detail,
- person_detail,
+ person_detail, OrganisationListViewByLeadInspector,
)
app_name = "organisations"
@@ -21,12 +21,13 @@ urlpatterns = [
name="create_incident_report",
),
path("", view=OrganisationListView.as_view(), name="list"),
+ path("lead-inspector/<int:id>", view=OrganisationListViewByLeadInspector.as_view(), name="list_by_inspector"),
path("create", view=OrganisationCreate.as_view(), name="create"),
path(
"essentialservice/<int:pk>",
essential_service_detail,
name="essential_service_detail",
),
- path("person/<int:person_id>", person_detail, name="person-detail"),
+ path("person/<int:person_id>", person_detail, name="person-detail"),
# path("create", view=OrganisationCreate.as_view(), name="create")
]