Creating flask form with selects from more than one table
问题 I have seen a large number of tutorials that show login forms with flask and flash-wtf but none where multiple select boxes are populated from database table values. This is what I am trying to do: A simple registration form: First name Last name Address Line 1 Address Line 2 City State Id (populated from states library query of Id,state) Country Id (populated from countries library query of country, id) Sample code or a link to a walk through would be greatly appreciated. 回答1: I tried to