aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/urls.py
blob: a9b79463f5c710bb5e331324fc49e220ad1452c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from django.urls import path
from django.views.decorators.cache import cache_page

from ctrack.caf.views import ListCAF, ListApplicableSystem, caf_detail_view

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("<int:pk>",  caf_detail_view, name="detail")
]