commands: get all properties when creating place pages
This commit is contained in:
parent
fe2e2f0496
commit
ebb6379ef2
|
@ -40,6 +40,7 @@ class Command(BaseCommand):
|
|||
})
|
||||
parent_page.title = layer.label
|
||||
parent_page.save()
|
||||
layer.properties = None # get all properties
|
||||
for feature in layer.get_geojson(request=None)['features']:
|
||||
cell_parameters = dict([
|
||||
(x, feature['properties'][x]) for x in feature['properties'] if x in cell_form_keys])
|
||||
|
|
Loading…
Reference in New Issue