2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-18 13:27:10 +00:00

more debug for logbook edits

This commit is contained in:
2024-07-23 15:52:04 +02:00
parent a2f4591f72
commit ca103fde22
3 changed files with 25 additions and 19 deletions

View File

@@ -230,7 +230,7 @@ def logentrydelete(request, year):
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
# OK we delete it from the db and then re-save logbook.html file
# to ensure that the permanent record also has the entry deleted.
entry.delete()