aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/urls.py
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-04-19 17:17:51 +0100
committerMR Lemon <matt@matthewlemon>2020-04-19 17:17:51 +0100
commit9952f7a5fb3efc8abb657ab0cfaa7e898ec6606a (patch)
treec9e50aa97d6afa22f5ff2cad460697da3c5a897b /ctrack/caf/urls.py
parentcf8e93936d98faf824029dcc18a7df4b07cc8cdd (diff)
setting up the new ApplicableSystemCreateFromOrg form... partial
Diffstat (limited to '')
-rw-r--r--ctrack/caf/urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrack/caf/urls.py b/ctrack/caf/urls.py
index 72a1de5..ff1243f 100644
--- a/ctrack/caf/urls.py
+++ b/ctrack/caf/urls.py
@@ -2,7 +2,7 @@ from django.urls import path
from django.views.decorators.cache import cache_page
from ctrack.caf.views import ListCAF, ListApplicableSystem, caf_detail_view, ApplicableSystemDetail, \
- ApplicableSystemCreate
+ ApplicableSystemCreate, ApplicableSystemCreateFromOrg
app_name = "caf"
@@ -10,6 +10,7 @@ urlpatterns = [
path("", view=ListCAF.as_view(), name="caf_list"),
path("applicablesystems", cache_page(60 * 60)(ListApplicableSystem.as_view()), name="es_list"),
path("applicablesystems/<int:pk>", ApplicableSystemDetail.as_view(), name="ass_detail"),
+ path("applicablesystem/<slug:slug>", ApplicableSystemCreateFromOrg.as_view(), name="create_from_org"),
path("applicablesystem/", ApplicableSystemCreate.as_view(), name="create"),
path("<int:pk>", caf_detail_view, name="detail")
]