aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/urls.py
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-04-17 15:04:40 +0100
committerMR Lemon <matt@matthewlemon>2020-04-17 15:04:40 +0100
commit6cbd969aea2be1c6b344a0fe378e76b2fed0300a (patch)
tree280668aeaf59c3f27b7ea912106a5c65a8c8066a /ctrack/caf/urls.py
parent0f7522d3c36391ea6750f52861c3b67ef0fcf4e2 (diff)
added the ApplicableSystem detail page
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 a9b7946..19cbf0f 100644
--- a/ctrack/caf/urls.py
+++ b/ctrack/caf/urls.py
@@ -1,12 +1,13 @@
from django.urls import path
from django.views.decorators.cache import cache_page
-from ctrack.caf.views import ListCAF, ListApplicableSystem, caf_detail_view
+from ctrack.caf.views import ListCAF, ListApplicableSystem, caf_detail_view, ApplicableSystemDetail
app_name = "caf"
urlpatterns = [
path("", view=ListCAF.as_view(), name="caf_list"),
path("applicablesystems", cache_page(60 * 60)(ListApplicableSystem.as_view()), name="es_list"),
+ path("applicablesystem/<int:pk>", ApplicableSystemDetail.as_view(), name="ass_detail"),
path("<int:pk>", caf_detail_view, name="detail")
]