aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/urls.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-04-16 15:02:40 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-04-16 15:02:40 +0100
commit7d13d652b741bee7390c39d6e27f4e6f9d909442 (patch)
tree781adeeb159a5418596db2b2bd199b2ec205204a /ctrack/caf/urls.py
parent82fa2dabf282971a81ee16858aa5513c51cb7d56 (diff)
removed CAFCreate form view and template - we're not doing that outside admin
Diffstat (limited to '')
-rw-r--r--ctrack/caf/urls.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ctrack/caf/urls.py b/ctrack/caf/urls.py
index dc5bc44..a9b7946 100644
--- a/ctrack/caf/urls.py
+++ b/ctrack/caf/urls.py
@@ -1,12 +1,11 @@
from django.urls import path
from django.views.decorators.cache import cache_page
-from ctrack.caf.views import CreateCAF, ListCAF, ListApplicableSystem, caf_detail_view
+from ctrack.caf.views import ListCAF, ListApplicableSystem, caf_detail_view
app_name = "caf"
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>", caf_detail_view, name="detail")