fix import_block_geom

This commit is contained in:
Laura Klünder 2023-12-26 16:18:38 +01:00
parent 59a8147f66
commit 6c0ed4fd1d

View file

@ -313,7 +313,7 @@ def create_editor_form(editor_model):
'label_settings', 'label_override', 'min_zoom', 'max_zoom', 'font_size',
'allow_levels', 'allow_spaces', 'allow_areas', 'allow_pois', 'allow_dynamic_locations',
'left', 'top', 'right', 'bottom', 'public',
'import_tag', 'import_block_data', 'import_block_grom']
'import_tag', 'import_block_data', 'import_block_geom']
field_names = [field.name for field in editor_model._meta.get_fields() if not field.one_to_many]
existing_fields = [name for name in possible_fields if name in field_names]