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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user