from django.urls import path from ctrack.organisations.views import ( IncidentReportCreateView, OrganisationCreate, OrganisationDetailView, OrganisationListView, PersonListView, essential_service_detail, person_detail, OrganisationListViewByLeadInspector, oes_list, ) app_name = "organisations" urlpatterns = [ path("oes/", oes_list, name="list_oes"), path("people/", view=PersonListView.as_view(), name="people"), path("/", view=OrganisationDetailView.as_view(), name="detail"), path( "/create-incident-report/", view=IncidentReportCreateView.as_view(), name="create_incident_report", ), path("", view=OrganisationListView.as_view(), name="list"), path("lead-inspector/", view=OrganisationListViewByLeadInspector.as_view(), name="list_by_inspector"), path("create", view=OrganisationCreate.as_view(), name="create"), path( "essentialservice/", essential_service_detail, name="essential_service_detail", ), path("person/", person_detail, name="person-detail"), # path("create", view=OrganisationCreate.as_view(), name="create") ]