summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-02-24 10:21:39 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:21:00 +0100
commit84cf613b154c67340de9fc1e6b3a457868eebc1b (patch)
tree191aa0fefa6fe216edc331c6421c5e342716f5d7 /ishtar_common/models.py
parenta0ba9928cb3559c0d3b17e28f741170e645871e1 (diff)
downloadIshtar-84cf613b154c67340de9fc1e6b3a457868eebc1b.tar.bz2
Ishtar-84cf613b154c67340de9fc1e6b3a457868eebc1b.zip
Geodata redesign: site migration
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 833851b5c..fbab13010 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2298,6 +2298,7 @@ class Area(HierarchicalType):
defaults={"label": str(_("Communal area boundaries"))}
)
attrs["data_type"] = data_type
+ attrs["name"] = name
geo = GeoVectorData.objects.create(**attrs)
else:
geo = q.all()[0]