2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 08:57:10 +00:00

New log report by title

This commit is contained in:
2024-07-14 16:01:44 +02:00
parent f4c25ba163
commit 35b04d096e
4 changed files with 130 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ from troggle.core.views.expo import (pubspage, indexpage, editexpopage, expofile
expofilessingle, expopage, map, mapfile,
mediapage, spider)
from troggle.core.views.logbooks import (QMs_jsonListView, Expeditions_jsonListView,
Expeditions_tsvListView, expedition,
Expeditions_tsvListView, expedition, logreport,
get_logbook_entries, get_people,
logbookentry, notablepersons, person,
personexpedition)
@@ -149,6 +149,7 @@ trogglepatterns = [
# Logbook entries
re_path(r'^logbookentry/(?P<date>.*)/(?P<slug>.*)/?$', logbookentry,name="logbookentry"),
re_path(r'^logbook$', exportlogbook, name='exportlogbook'),
path('logreport/<slug:year>', logreport, name='logreport'),
# Internal. editfile.html template uses these internally
re_path(r'^getPeople/(?P<expeditionslug>.*)', get_people, name = "get_people"),