diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/caf/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/caf/urls.py b/ctrack/caf/urls.py index dc228ae..dc5bc44 100644 --- a/ctrack/caf/urls.py +++ b/ctrack/caf/urls.py @@ -1,7 +1,7 @@ from django.urls import path from django.views.decorators.cache import cache_page -from ctrack.caf.views import CreateCAF, ListCAF, ListApplicableSystem, DetailCAF +from ctrack.caf.views import CreateCAF, ListCAF, ListApplicableSystem, caf_detail_view app_name = "caf" @@ -9,5 +9,5 @@ urlpatterns = [ path("", view=CreateCAF.as_view(), name="create"), path("", view=ListCAF.as_view(), name="caf_list"), path("applicablesystems", cache_page(60 * 60)(ListApplicableSystem.as_view()), name="es_list"), - path("<int:pk>", DetailCAF.as_view(), name="detail") + path("<int:pk>", caf_detail_view, name="detail") ] |