From 4d09daf0de083407b57be6d8bee9bcb6b6f1bcc9 Mon Sep 17 00:00:00 2001 From: MR Lemon Date: Tue, 21 Apr 2020 16:58:54 +0100 Subject: added organisation list view --- ctrack/organisations/urls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ctrack/organisations/urls.py') diff --git a/ctrack/organisations/urls.py b/ctrack/organisations/urls.py index 454d73f..1ca93d8 100644 --- a/ctrack/organisations/urls.py +++ b/ctrack/organisations/urls.py @@ -1,9 +1,10 @@ from django.urls import path -from ctrack.organisations.views import OrganisationDetailView +from ctrack.organisations.views import OrganisationDetailView, OrganisationListView app_name = "organisations" urlpatterns = [ - path("/", view=OrganisationDetailView.as_view(), name="detail") + path("/", view=OrganisationDetailView.as_view(), name="detail"), + path("", view=OrganisationListView.as_view(), name="list") ] -- cgit v1.2.3