summaryrefslogtreecommitdiff
path: root/ishtar_common/management
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-06-15 10:22:01 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:21:01 +0100
commit59f97318687a19a8623261aff0bc875ca99c5c7c (patch)
tree4a17c15d334249d2ae4f5d53395e608299336d7e /ishtar_common/management
parentfb3e9bd47dd56385eb2be38b8ea51f6a5535d884 (diff)
downloadIshtar-59f97318687a19a8623261aff0bc875ca99c5c7c.tar.bz2
Ishtar-59f97318687a19a8623261aff0bc875ca99c5c7c.zip
Fix migrations
Diffstat (limited to 'ishtar_common/management')
-rw-r--r--ishtar_common/management/commands/migrate_to_geo_v4.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/management/commands/migrate_to_geo_v4.py b/ishtar_common/management/commands/migrate_to_geo_v4.py
index d904b279a..188365c45 100644
--- a/ishtar_common/management/commands/migrate_to_geo_v4.py
+++ b/ishtar_common/management/commands/migrate_to_geo_v4.py
@@ -195,6 +195,7 @@ def _process_main(obj):
"x": obj.x,
"y": obj.y,
"z": obj.z,
+ "spatial_reference_system": obj.spatial_reference_system
}
data = models_common.GeoVectorData.objects.create(**attrs)
obj.main_geodata = data