diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-11-23 00:36:44 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-11-23 00:36:44 +0000 |
commit | 1a9e17a7e8527dc0a6f5e3004bf079b2f8d1495d (patch) | |
tree | 060e957b64b7f88cbb2f9773b89922c90f1540ac /core/views/logbooks.py | |
parent | 995df16beca48aa465ea1eed522a2ba6ba971ed2 (diff) | |
download | troggle-1a9e17a7e8527dc0a6f5e3004bf079b2f8d1495d.tar.gz troggle-1a9e17a7e8527dc0a6f5e3004bf079b2f8d1495d.tar.bz2 troggle-1a9e17a7e8527dc0a6f5e3004bf079b2f8d1495d.zip |
remove entry-type and tidy cache bits
Diffstat (limited to 'core/views/logbooks.py')
-rw-r--r-- | core/views/logbooks.py | 2 |
1 files changed, 0 insertions, 2 deletions
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: |