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 | 261f9d2bd15af002c8b35d917b4aadb40794846a (patch) | |
tree | b27058946fc758238a9d31e1e14227eb167bb72f /ishtar_common/utils.py | |
parent | 5b80422d4305ef788d2f33bbd647fd08d03f8914 (diff) | |
download | Ishtar-261f9d2bd15af002c8b35d917b4aadb40794846a.tar.bz2 Ishtar-261f9d2bd15af002c8b35d917b4aadb40794846a.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 ( |