summaryrefslogtreecommitdiffstats
path: root/core/views/logbooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/logbooks.py')
-rw-r--r--core/views/logbooks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/views/logbooks.py b/core/views/logbooks.py
index 2c15a1e..5d9dca2 100644
--- a/core/views/logbooks.py
+++ b/core/views/logbooks.py
@@ -223,9 +223,11 @@ def personexpedition(request, slug="", year=""):
def logentrydelete(request, year):
"""This only gets called by a POST from the logreport page
- The function in memory of James Waite who managed to make so many duplicate logbook entries
+ This function is dedicated to James Waite who managed to make so many duplicate logbook entries
that we needed a sopecial mechanism to delete them.
"""
+ for i in request.POST:
+ print(f" - '{i}' {request.POST[i]}")
eslug = request.POST["entry_slug"]
entry = LogbookEntry.objects.get(slug=eslug)
# OK we delete it formt he db and then re-save logbook.html file