aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/urls.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-03-10 20:40:00 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-03-10 20:40:00 +0000
commit274b7642e9297baecfeb044e9fd20e3f50f04fc9 (patch)
treec6da3f566f76535206fbec42ade088a5bcffe332 /ctrack/caf/urls.py
parentea1d48ab0a327ec9a2ce6f18989cd1ca5e1dbba5 (diff)
basic caf detail page implemented - BASIC
Diffstat (limited to '')
-rw-r--r--ctrack/caf/urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ctrack/caf/urls.py b/ctrack/caf/urls.py
index 37fb96b..3016013 100644
--- a/ctrack/caf/urls.py
+++ b/ctrack/caf/urls.py
@@ -1,11 +1,12 @@
from django.urls import path
-from ctrack.caf.views import CreateCAF, ListCAF, ListApplicableSystem
+from ctrack.caf.views import CreateCAF, ListCAF, ListApplicableSystem, DetailCAF
app_name = "caf"
urlpatterns = [
path("", view=CreateCAF.as_view(), name="create"),
path("", view=ListCAF.as_view(), name="caf_list"),
- path("applicablesystems", view=ListApplicableSystem.as_view(), name="es_list")
+ path("applicablesystems", view=ListApplicableSystem.as_view(), name="es_list"),
+ path("<int:pk>", DetailCAF.as_view(), name="detail")
]