diff options
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 |
commit | a14d0067a933ff3898773119fb85146545530dc3 (patch) | |
tree | 191aa0fefa6fe216edc331c6421c5e342716f5d7 /ishtar_common/models.py | |
parent | 55f311f240402612feb72766925131e585040833 (diff) | |
download | Ishtar-a14d0067a933ff3898773119fb85146545530dc3.tar.bz2 Ishtar-a14d0067a933ff3898773119fb85146545530dc3.zip |
Geodata redesign: site migration
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 1 |
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] |