summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2022-12-29 13:54:38 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2022-12-29 13:54:38 +0000
commit78740a1fc07d15b042299411b6a7f5ca2b3c45c1 (patch)
tree2b6f4015b2ee4c39e20786b33a36e8e807182dac /urls.py
parentb131e567b5a6a42de43874ff7fe92c2daa1dfc74 (diff)
downloadtroggle-78740a1fc07d15b042299411b6a7f5ca2b3c45c1.tar.gz
troggle-78740a1fc07d15b042299411b6a7f5ca2b3c45c1.tar.bz2
troggle-78740a1fc07d15b042299411b6a7f5ca2b3c45c1.zip
remove logbooksearch, use site-wide search on server
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/urls.py b/urls.py
index 59e0bf9..414b0ab 100644
--- a/urls.py
+++ b/urls.py
@@ -14,7 +14,7 @@ from troggle.core.views.uploads import dwgupload, scanupload, photoupload
from troggle.core.views.other import troggle404, frontpage, todos, controlpanel, frontpage
from troggle.core.views.other import exportlogbook
from troggle.core.views.caves import ent, cavepage, caveindex, get_entrances, edit_cave, cave3d, caveEntrance, edit_entrance, caveQMs, qm
-from troggle.core.views.logbooks import get_logbook_entries, logbookentry, logbookSearch
+from troggle.core.views.logbooks import get_logbook_entries, logbookentry
from troggle.core.views.logbooks import notablepersons, person, get_people
from troggle.core.views.logbooks import expedition, personexpedition, Expeditions_tsvListView, Expeditions_jsonListView
from troggle.core.views.prospect import prospecting_image
@@ -113,14 +113,12 @@ trogglepatterns = [
# Logbook entries
re_path(r'^logbookentry/(?P<date>.*)/(?P<slug>.*)/?$', logbookentry,name="logbookentry"),
- 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>.*)/?$', exportlogbook, name='exportlogbook'), # e.g. /logbook2019.html # working but old CSS in
re_path(r'^logbook$', exportlogbook, name='exportlogbook'),
# Internal. editfile.html template uses these internally
re_path(r'^getPeople/(?P<expeditionslug>.*)', get_people, name = "get_people"),
re_path(r'^getLogBookEntries/(?P<expeditionslug>.*)', get_logbook_entries, name = "get_logbook_entries"),
- #re_path(r'^getQMs/(?P<caveslug>.*)', get_qms, name = "get_qms"), # Not used anywhere ?
re_path(r'^getEntrances/(?P<caveslug>.*)', get_entrances, name = "get_entrances"), # used internally ?
# Cave description pages