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-26 20:45:11 +0200 |
commit | 737587eda4391494b1c44caa5e21ad7c2ff9ef50 (patch) | |
tree | 5736c3f16c12f007e7961b88561d2364368b2276 /archaeological_finds | |
parent | aab08f0337002bb90a002e22153f9fd68e1dd61d (diff) | |
download | Ishtar-737587eda4391494b1c44caa5e21ad7c2ff9ef50.tar.bz2 Ishtar-737587eda4391494b1c44caa5e21ad7c2ff9ef50.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 d6280d53e..40381a6bb 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -3174,6 +3174,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 ) @@ -3540,7 +3541,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: |