aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/urls.py
blob: 09743af23ee152c44817def47591cd4e12d3d828 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from django.urls import path

from ctrack.organisations.views import OrganisationDetailView, OrganisationListView, OrganisationCreate

app_name = "organisations"

urlpatterns = [
    path("<slug:slug>/", view=OrganisationDetailView.as_view(), name="detail"),
    path("", view=OrganisationListView.as_view(), name="list"),
    path("create", view=OrganisationCreate.as_view(), name="create")
    # path("create", view=OrganisationCreate.as_view(), name="create")
]