diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-06-26 20:45:11 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-06-27 10:59:30 +0200 |
commit | 66f6d4951bc7cd801757feca3b4a403ebedb2d64 (patch) | |
tree | 09ffe42906a9a6492a102efd0240aaaf93bd8943 /archaeological_finds | |
parent | 42b0ad69ed32fb72787e3bcdd0400ec7e2eb9156 (diff) | |
download | Ishtar-66f6d4951bc7cd801757feca3b4a403ebedb2d64.tar.bz2 Ishtar-66f6d4951bc7cd801757feca3b4a403ebedb2d64.zip |
⚡️ imports: performance optimisations
Diffstat (limited to 'archaeological_finds')
-rw-r--r-- | archaeological_finds/models_finds.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 67c4a414a..bd0c42619 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -3285,6 +3285,7 @@ class Find( _("No container have been set - the localisation cannot " "be set.") ) + container.no_post_process(history=True) localisation, error = container.set_localisation( place, value, static=static, return_errors=True ) @@ -3651,7 +3652,7 @@ class Find( if base_find.update_external_id(): modified = True if modified: - base_find.skip_history_when_saving = True + base_find.no_post_process() base_find._cached_label_checked = False base_find.save() # if not base_find.material_index: |