阅读背景:

如何使用Flask-AppBuilder使用自定义表单更改选择字段的默认选择?

来源:互联网 

Change my Flask app into a Flask-Appbuilder, and running into some issues. I am looking to change the default selection of a SelectField using the parameter in the url, kind of like the automatic forms do. From the following configuration, I get "/rooms/add?_flt_0_building=3" in the URL when the third building is selected. How can I get building_id in the WTForm to select his on the page?Change my Flask app into a Flask-Appbuilder, an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: