2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 14:58:17 +00:00

need login to do these things

This commit is contained in:
2025-10-31 23:10:37 +02:00
parent 7bbc413902
commit 66834caffb

View File

@@ -147,6 +147,7 @@ def controlpanel(request):
{"expeditions": Expedition.objects.all(), "year": current_expo()}, {"expeditions": Expedition.objects.all(), "year": current_expo()},
) )
@login_required_if_public
def folk_export(request): def folk_export(request):
"""Recreates the folk.csv file from the database contents """Recreates the folk.csv file from the database contents
WORK IN PROGRESS JULY 2025 WORK IN PROGRESS JULY 2025
@@ -213,6 +214,7 @@ def folk_export(request):
} }
) )
@login_required_if_public
def exportlogbook(request, year=None): def exportlogbook(request, year=None):
"""Constructs, from the database, a complete HTML formatted logbook """Constructs, from the database, a complete HTML formatted logbook
for the current year. Format available is now just HTML2005. for the current year. Format available is now just HTML2005.