aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/urls.py
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-04-21 16:58:54 +0100
committerMR Lemon <matt@matthewlemon>2020-04-21 16:59:33 +0100
commit4d09daf0de083407b57be6d8bee9bcb6b6f1bcc9 (patch)
tree7ce2377a4936c2c8429c1bc9cf2b5fdcf605888b /ctrack/organisations/urls.py
parent271409371dc71b6c9108b2e56cb82ff8ce74415f (diff)
added organisation list view
Diffstat (limited to 'ctrack/organisations/urls.py')
-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 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")
]