From 7b6a867e112b945e8b22beff6460faf818628ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 17 Apr 2020 13:27:03 +0200 Subject: [PATCH] update to new get_geojson signature --- combo_plugin_gnm/management/commands/gnm_create_places.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: