From 84cf613b154c67340de9fc1e6b3a457868eebc1b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 24 Feb 2022 10:21:39 +0100 Subject: Geodata redesign: site migration --- ishtar_common/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/models.py') 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] -- cgit v1.2.3