summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-04-17 11:27:03 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-04-17 11:27:03 (GMT)
commit7b6a867e112b945e8b22beff6460faf818628ac2 (patch)
tree1b24501015f4708c265f21adf4e0fc786d4d6251
parent66591133954ffeb8bfbf8885dd68f4fdca21faa8 (diff)
downloadcombo-plugin-gnm-7b6a867e112b945e8b22beff6460faf818628ac2.zip
combo-plugin-gnm-7b6a867e112b945e8b22beff6460faf818628ac2.tar.gz
combo-plugin-gnm-7b6a867e112b945e8b22beff6460faf818628ac2.tar.bz2
update to new get_geojson signaturev6.6
-rw-r--r--combo_plugin_gnm/management/commands/gnm_create_places.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/combo_plugin_gnm/management/commands/gnm_create_places.py b/combo_plugin_gnm/management/commands/gnm_create_places.py
index 2a94ffa..9a4e466 100644
--- a/combo_plugin_gnm/management/commands/gnm_create_places.py
+++ b/combo_plugin_gnm/management/commands/gnm_create_places.py
@@ -40,7 +40,7 @@ class Command(BaseCommand):
})
parent_page.title = layer.label
parent_page.save()
- for feature in layer.get_geojson():
+ for feature in layer.get_geojson(request=None):
cell_parameters = dict([
(x, feature['properties'][x]) for x in feature['properties'] if x in cell_form_keys])
try: