aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/organisations/urls.py')
-rw-r--r--ctrack/organisations/urls.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ctrack/organisations/urls.py b/ctrack/organisations/urls.py
index 8a23cd2..1ddef8f 100644
--- a/ctrack/organisations/urls.py
+++ b/ctrack/organisations/urls.py
@@ -1,11 +1,14 @@
from django.urls import path
-from ctrack.organisations.views import OrganisationDetailView, OrganisationListView, OrganisationCreate
+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")
]