allow altitudemarker altitude to be edited
This commit is contained in:
parent
a87b6d79ac
commit
3e8b3d534a
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ def create_editor_form(editor_model):
|
|||
possible_fields = ['slug', 'name', 'ordering', 'category', 'width', 'groups', 'color', 'priority', 'base_altitude',
|
||||
'waytype', 'access_restriction', 'height', 'default_height', 'can_search', 'can_describe',
|
||||
'outside', 'geometry', 'single', 'allow_levels', 'allow_spaces', 'allow_areas', 'allow_pois',
|
||||
'left', 'top', 'right', 'bottom']
|
||||
'altitude', 'left', 'top', 'right', 'bottom']
|
||||
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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue