summaryrefslogtreecommitdiff
path: root/ishtar_common/models_common.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-06-07 15:07:45 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-06-07 15:45:30 +0200
commitfac19ea38fbd46bf6d6636e9d12b555269788019 (patch)
tree3a54cd8f775eeb87ff4a0a2641b7eaa7d89694d6 /ishtar_common/models_common.py
parentd3eb2d6fd52e393a7d3d841d66ecdf58b7a94b6a (diff)
downloadIshtar-fac19ea38fbd46bf6d6636e9d12b555269788019.tar.bz2
Ishtar-fac19ea38fbd46bf6d6636e9d12b555269788019.zip
⚡️ improve post treatments after imports
- check_cascade_update is now function which evaluate if cascade update is relevant - "_no_repost_save" attribute prevent a resave after post import - fix updat check for geo post save - add some logging
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r--ishtar_common/models_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py
index 15ce429d4..a8e377209 100644
--- a/ishtar_common/models_common.py
+++ b/ishtar_common/models_common.py
@@ -3386,6 +3386,7 @@ class MainItem(ShortMenuItem, SerializeItem):
self.no_post_process()
self._post_saved_geo = False
post_save_geo(self.__class__, instance=self, created=False)
+ return False
def external_id_changed(self):
self.no_post_process()