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: