From 66834caffb4060ca205f6816fab985ee85ab9dab Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 31 Oct 2025 23:10:37 +0200 Subject: [PATCH] need login to do these things --- core/views/other.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/views/other.py b/core/views/other.py index 433aecb..87fad8e 100644 --- a/core/views/other.py +++ b/core/views/other.py @@ -147,6 +147,7 @@ def controlpanel(request): {"expeditions": Expedition.objects.all(), "year": current_expo()}, ) +@login_required_if_public def folk_export(request): """Recreates the folk.csv file from the database contents WORK IN PROGRESS JULY 2025 @@ -213,6 +214,7 @@ def folk_export(request): } ) +@login_required_if_public def exportlogbook(request, year=None): """Constructs, from the database, a complete HTML formatted logbook for the current year. Format available is now just HTML2005.