From 47f4eaa7509693e0a64ad3ee69b7a312df541127 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 20 Jan 2023 11:46:57 +0100 Subject: Warehouse: new slug field to prevent ID change when name is changed --- ishtar_common/models_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/models_common.py') diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 586549542..b239813f3 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -1241,7 +1241,7 @@ class CascasdeUpdate: continue for item in getattr(self, down_model).all(): cached_label_changed(item.__class__, instance=item) - if hasattr(item, "point_2d"): + if hasattr(item, "main_geodata"): post_save_geo(item.__class__, instance=item) -- cgit v1.2.3