loadgroup in editor and API
This commit is contained in:
parent
77949736f7
commit
c83e91bc78
4 changed files with 18 additions and 2 deletions
|
@ -399,6 +399,7 @@ def create_editor_form(editor_model):
|
|||
'color_obstacles_default_fill', 'color_obstacles_default_border', 'stroke_color', 'stroke_width',
|
||||
'stroke_opacity', 'fill_color', 'fill_opacity', 'interactive', 'point_icon', 'extra_data', 'show_label',
|
||||
'show_geometry', 'show_label', 'show_geometry', 'default_geomtype',
|
||||
"load_group_display", "load_group_contribute",
|
||||
"altitude_quest",
|
||||
]
|
||||
field_names = [field.name for field in editor_model._meta.get_fields()
|
||||
|
|
|
@ -72,6 +72,7 @@ urlpatterns.extend(add_editor_urls('AccessRestriction'))
|
|||
urlpatterns.extend(add_editor_urls('AccessRestrictionGroup'))
|
||||
urlpatterns.extend(add_editor_urls('Source'))
|
||||
urlpatterns.extend(add_editor_urls('LabelSettings'))
|
||||
urlpatterns.extend(add_editor_urls('LoadGroup'))
|
||||
urlpatterns.extend(add_editor_urls('Theme'))
|
||||
urlpatterns.extend(add_editor_urls('DataOverlay'))
|
||||
urlpatterns.extend(add_editor_urls('Building', 'Level'))
|
||||
|
|
|
@ -63,6 +63,7 @@ def main_index(request):
|
|||
child_model(request, 'AccessRestriction'),
|
||||
child_model(request, 'AccessRestrictionGroup'),
|
||||
child_model(request, 'LabelSettings'),
|
||||
child_model(request, 'LoadGroup'),
|
||||
child_model(request, 'Source'),
|
||||
child_model(request, 'Theme'),
|
||||
child_model(request, 'DataOverlay'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue