aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/urls.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-01-24 10:10:09 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-01-24 10:10:09 +0000
commitc488ad804bcc7c3febee3bea2089b86bbe419bbb (patch)
treee610f4f291cf3665e5ac481999ad27abc153d311 /ctrack/organisations/urls.py
parent7a65d7e12c30992ceb6b94acc55d2ee152687b6e (diff)
Played about with CSS/templates and tinkered with admin
Diffstat (limited to 'ctrack/organisations/urls.py')
-rw-r--r--ctrack/organisations/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/organisations/urls.py b/ctrack/organisations/urls.py
index c6cc382..454d73f 100644
--- a/ctrack/organisations/urls.py
+++ b/ctrack/organisations/urls.py
@@ -5,5 +5,5 @@ from ctrack.organisations.views import OrganisationDetailView
app_name = "organisations"
urlpatterns = [
- path("<str:name>/", view=OrganisationDetailView, name="detail")
+ path("<slug:slug>/", view=OrganisationDetailView.as_view(), name="detail")
]