update to new get_geojson signature
This commit is contained in:
parent
6659113395
commit
7b6a867e11
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue