From fac19ea38fbd46bf6d6636e9d12b555269788019 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 7 Jun 2023 15:07:45 +0200 Subject: ⚡️ improve post treatments after imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- archaeological_operations/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archaeological_operations/models.py') diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 57fc4676f..9155ce3eb 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -276,6 +276,7 @@ class GeographicTownItem(GeoItem): if changed and save: post_save_geo(self.__class__, instance=self, created=False, update_fields=False, raw=False, using="default") + return changed class ArchaeologicalSite( -- cgit v1.2.3