diff options
author | MR Lemon <matt@matthewlemon> | 2020-05-01 17:30:48 +0100 |
---|---|---|
committer | MR Lemon <matt@matthewlemon> | 2020-05-01 17:31:03 +0100 |
commit | 989b3bf9259b06ed3542d16a81712635ef492c33 (patch) | |
tree | f3f53e9000712568942e658dfbd889068bed2fd4 /ctrack/organisations/urls.py | |
parent | dbe4555b17e2dd0d49b8c4879252692f75f8fe42 (diff) |
started to put in an inlineformset!
Diffstat (limited to '')
-rw-r--r-- | ctrack/organisations/urls.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ctrack/organisations/urls.py b/ctrack/organisations/urls.py index 8a23cd2..a4a0244 100644 --- a/ctrack/organisations/urls.py +++ b/ctrack/organisations/urls.py @@ -1,11 +1,13 @@ from django.urls import path -from ctrack.organisations.views import OrganisationDetailView, OrganisationListView, OrganisationCreate +from ctrack.organisations.views import OrganisationDetailView, OrganisationListView, OrganisationCreate, \ + create_org_with_address 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=create_org_with_address, name="create") + # path("create", view=OrganisationCreate.as_view(), name="create") ] |