From 1a9e17a7e8527dc0a6f5e3004bf079b2f8d1495d Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 23 Nov 2022 00:36:44 +0000 Subject: remove entry-type and tidy cache bits --- core/views/logbooks.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/views/logbooks.py') diff --git a/core/views/logbooks.py b/core/views/logbooks.py index 7d58c75..9c3d8c5 100644 --- a/core/views/logbooks.py +++ b/core/views/logbooks.py @@ -64,12 +64,10 @@ def expedition(request, expeditionname): # Need to delete the existing entries or we get duplication # Need to delete both in the Django ORM and in our own object-store. entries = this_expedition.logbookentry_set.all() - print(f'! - expo {expeditionname} {len(entries)} entries initially') for entry in entries: #print(f'! - delete entry: "{entry}"') entry.delete() entries = this_expedition.logbookentry_set.all() - print(f'! - expo {expeditionname} {len(entries)} entries after deletion') LoadLogbookForExpedition(this_expedition) logged_in = True else: -- cgit v1.2.3