From 59dce50b1aa64c998457601fb393dc4ed2579d55 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 1 Apr 2025 14:42:37 +0200 Subject: đŸ”§ Makefile: adapt fixture generation to new geo management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile.example | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.example b/Makefile.example index aa49d27ec..3db2ca477 100644 --- a/Makefile.example +++ b/Makefile.example @@ -244,10 +244,14 @@ fixtures_common_importers: fixtures_common_towns: cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 --natural-primary --natural-foreign \ - ishtar_common.state \ - ishtar_common.department \ + ishtar_common.spatialreferencesystem \ + ishtar_common.geobuffertype \ + ishtar_common.geoorigintype \ + ishtar_common.geodatatype \ + ishtar_common.geoprovidertype \ ishtar_common.town \ ishtar_common.area \ + ishtar_common.geovectordata \ > '../ishtar_common/fixtures/towns-'$(default_data)'.json' cat 'ishtar_common/fixtures/towns-'$(default_data)'.json' | tr '\n' '\r' | \ sed -e 's/"children": *\[\r *\[\r *"[0-9-]*", *\r *[0-9]*\ *\r *\]\r *\]/"children": []/g' | \ -- cgit v1.2.3