update places page if layer name changed
This commit is contained in:
parent
88d6c7be95
commit
7f5fd42136
|
@ -37,6 +37,8 @@ class Command(BaseCommand):
|
|||
'redirect_url': '..',
|
||||
'parent': places_page,
|
||||
})
|
||||
parent_page.title = layer.label
|
||||
parent_page.save()
|
||||
for feature in layer.get_geojson():
|
||||
cell_parameters = dict([
|
||||
(x, feature['properties'][x]) for x in feature['properties'] if x in cell_form_keys])
|
||||
|
|
Loading…
Reference in New Issue