diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-04-01 14:42:37 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-07-21 15:07:41 +0200 |
commit | e57fb72cf24d0d9a444f35484c1f46d1ef5f881d (patch) | |
tree | b7f41c6ad7a70f56d1bddc5896b4251e814acd53 | |
parent | eda40f3481b6963163a04cc393db2bb95d3c5242 (diff) | |
download | Ishtar-e57fb72cf24d0d9a444f35484c1f46d1ef5f881d.tar.bz2 Ishtar-e57fb72cf24d0d9a444f35484c1f46d1ef5f881d.zip |
🔧 Makefile: adapt fixture generation to new geo management
-rw-r--r-- | Makefile.example | 8 |
1 files 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' | \ |