diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-02-18 11:22:38 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:00 +0100 |
commit | 4f6e9022857a08c5fae4e43124e40b6e9d1ab260 (patch) | |
tree | b27058946fc758238a9d31e1e14227eb167bb72f /ishtar_common/utils.py | |
parent | 1205622c9acfef772a73c15352a4fa812ca7e358 (diff) | |
download | Ishtar-4f6e9022857a08c5fae4e43124e40b6e9d1ab260.tar.bz2 Ishtar-4f6e9022857a08c5fae4e43124e40b6e9d1ab260.zip |
Geodata redesign: operation migrations (2/2)
Diffstat (limited to 'ishtar_common/utils.py')
-rw-r--r-- | ishtar_common/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py index 02eeff93c..53727b6d3 100644 --- a/ishtar_common/utils.py +++ b/ishtar_common/utils.py @@ -774,6 +774,7 @@ def _post_save_geodata(sender, **kwargs): modified = True # managed cached coordinates + # TODO cached_x, cached_y, cached_z = None, None, None coords = instance.display_coordinates(rounded=False, dim=3) @@ -845,6 +846,9 @@ def _post_save_geo(sender, **kwargs): if not instance: return + return + # TODO to delete + kls_name = instance.__class__.__name__ if not profile.locate_warehouses and ( |