add level_change_description to editor
This commit is contained in:
parent
ff5826d8c2
commit
1b5fa26450
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ def create_editor_form(editor_model):
|
|||
'outside', 'can_search', 'can_describe', 'geometry', 'single', 'altitude', 'short_label',
|
||||
'origin_space', 'target_space', 'data', 'comment', 'slow_down_factor',
|
||||
'extra_seconds', 'speed', 'description', 'speed_up', 'description_up', 'enter_description',
|
||||
'level_change_description',
|
||||
'allow_levels', 'allow_spaces', 'allow_areas', 'allow_pois', '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