diff options
author | MR Lemon <matt@matthewlemon> | 2020-04-21 16:09:32 +0100 |
---|---|---|
committer | MR Lemon <matt@matthewlemon> | 2020-04-21 16:09:32 +0100 |
commit | 271409371dc71b6c9108b2e56cb82ff8ce74415f (patch) | |
tree | 7302833703b22d2e0c8fe5cef2a181da59a26c6d /ctrack/caf/urls.py | |
parent | 563ccf1d64a3bdc81d6d1fe9c45b95684d5a3868 (diff) |
can now add a system from a CAF detail page
Diffstat (limited to '')
-rw-r--r-- | ctrack/caf/urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrack/caf/urls.py b/ctrack/caf/urls.py index 5b64be4..ca84609 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, \ - ApplicableSystemCreateFromOrg + ApplicableSystemCreateFromOrg, applicable_system_create_from_caf app_name = "caf" @@ -11,5 +11,6 @@ urlpatterns = [ 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/create-from-caf/<int:caf_id>", applicable_system_create_from_caf, name="as_create_from_caf"), path("<int:pk>", caf_detail_view, name="detail") ] |