Commit 8a1ed9cd authored by Serge S. Koval's avatar Serge S. Koval

Update view.py

parent 5451b8bd
......@@ -118,11 +118,8 @@ class ModelView(BaseModelView):
class MyAdmin(ModelView):
form_subdocuments = {
'data': {
'form_subdocuments': {
'form_columns': ('name',)
}
}
}
In this example, `Post` model has child `Comment` subdocument. When generating form for `Comment` embedded
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment