Commit 13581597 authored by Serge S. Koval's avatar Serge S. Koval

Merge branch 'master' of github.com:/mrjoes/flask-admin

parents 4876f487 8a1ed9cd
......@@ -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
......@@ -170,15 +167,11 @@ class ModelView(BaseModelView):
class MyAdmin(ModelView):
form_subdocuments = {
'data': {
'form_subdocuments': {
data: {
'form_subdocuments': {
None: {
'form_columns': ('name',)
}
}
}
}
}
}
......
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