update to new get_geojson signature

This commit is contained in:
Frédéric Péters 2020-04-17 13:27:03 +02:00
parent 6659113395
commit 7b6a867e11
1 changed files with 1 additions and 1 deletions

View File

@ -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: