diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-28 02:43:09 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-28 02:43:09 +0100 |
commit | e5cf1b5289d908133bcfbc7054b0eda1e658dbfd (patch) | |
tree | a8b535d79b33c2d9764312ec611def791e91add4 /urls.py | |
parent | 62799d196b9f2558a769ddef4311fd1f06a8c99e (diff) | |
download | troggle-e5cf1b5289d908133bcfbc7054b0eda1e658dbfd.tar.gz troggle-e5cf1b5289d908133bcfbc7054b0eda1e658dbfd.tar.bz2 troggle-e5cf1b5289d908133bcfbc7054b0eda1e658dbfd.zip |
download logbook in standard HTML works
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,7 +11,7 @@ from django.urls import reverse, resolve from troggle.core.views import caves, statistics, survex from troggle.core.views.surveys import scansingle, singlewallet, allwallets, dwgdata, dwgfilesingle, dwgfileupload from troggle.core.views.other import troggle404, frontpage, todos, controlpanel, frontpage, scanupload -from troggle.core.views.other import downloadlogbook +from troggle.core.views.other import exportlogbook from troggle.core.views.caves import ent, cavepage from troggle.core.views.logbooks import get_logbook_entries, logbookentry, logbookSearch from troggle.core.views.logbooks import personindex, person, get_people @@ -98,9 +98,9 @@ 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>.*)/?$', downloadlogbook), # e.g. /logbook2019.html # working but old CSS in template - re_path(r'^logbook/?$', downloadlogbook, name="downloadlogbook"), - + 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"), |