summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-23 11:43:25 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-23 11:43:25 +0100
commit343d6cf35060c580a9e7cd91605bf481c4f6444b (patch)
treea4be557874fae6c6981fcfa4e500b545df58d82b /urls.py
parentdbd186e299fecd8f10f3dca0a88b78f842b0c59b (diff)
downloadtroggle-343d6cf35060c580a9e7cd91605bf481c4f6444b.tar.gz
troggle-343d6cf35060c580a9e7cd91605bf481c4f6444b.tar.bz2
troggle-343d6cf35060c580a9e7cd91605bf481c4f6444b.zip
delete old forms, templates. fix logdataissues
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index 5d475a9..03c316c 100644
--- a/urls.py
+++ b/urls.py
@@ -10,7 +10,7 @@ from django.urls import reverse, resolve
from troggle.core.views import caves, statistics, survex
from troggle.core.views.surveys import surveyscansingle, surveyscansfolder, surveyscansfolders, dwgdata, dwgfilesingle, dwgfileupload
-from troggle.core.views.other import troggle404, frontpage, todos, controlpanel, frontpage, newfile, scanupload
+from troggle.core.views.other import troggle404, frontpage, todos, controlpanel, frontpage, scanupload
from troggle.core.views.other import downloadlogbook, ajax_QM_number, downloadQMs
from troggle.core.views.caves import ent, cavepage
from troggle.core.views.logbooks import get_logbook_entries, logbookentry, logbookSearch
@@ -94,7 +94,6 @@ trogglepatterns = [
# Logbook entries
re_path(r'^logbookentry/(?P<date>.*)/(?P<slug>.*)/?$', logbookentry,name="logbookentry"),
- re_path(r'^newfile', newfile, name="newFile"), # oddly broken, needs investigating more
re_path(r'^logbooksearch/(.*)/?$', logbookSearch), # name 'search' not defined in views/logbooks.py
re_path(r'^logbook(?P<year>\d\d\d\d)\.(?P<extension>.*)/?$', downloadlogbook), # e.g. /logbook2019.html # working but old CSS in template
re_path(r'^logbook/?$', downloadlogbook, name="downloadlogbook"),