diff options
author | MR Lemon <matt@matthewlemon> | 2020-04-21 16:58:54 +0100 |
---|---|---|
committer | MR Lemon <matt@matthewlemon> | 2020-04-21 16:59:33 +0100 |
commit | 4d09daf0de083407b57be6d8bee9bcb6b6f1bcc9 (patch) | |
tree | 7ce2377a4936c2c8429c1bc9cf2b5fdcf605888b /ctrack/organisations/urls.py | |
parent | 271409371dc71b6c9108b2e56cb82ff8ce74415f (diff) |
added organisation list view
Diffstat (limited to 'ctrack/organisations/urls.py')
-rw-r--r-- | ctrack/organisations/urls.py | 5 |
1 files changed, 3 insertions, 2 deletions
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("<slug:slug>/", view=OrganisationDetailView.as_view(), name="detail") + path("<slug:slug>/", view=OrganisationDetailView.as_view(), name="detail"), + path("", view=OrganisationListView.as_view(), name="list") ] |