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

from ctrack.organisations.forms import OrganisationCreateForm, AddressCreateForm
from ctrack.organisations.views import OrganisationDetailView, OrganisationListView, OrganisationCreate, \
    OrganisationCreateWizard

app_name = "organisations"

urlpatterns = [
    path("<slug:slug>/", view=OrganisationDetailView.as_view(), name="detail"),
    path("add-wizard", view=OrganisationCreateWizard.as_view([OrganisationCreateForm, AddressCreateForm])),
    path("", view=OrganisationListView.as_view(), name="list"),
    path("create", view=OrganisationCreate.as_view(), name="create")
]