I'm using wtforms-sqlalchemy
extension to query on database and show the result to the user with a nice drop-down list inside a Flask driven web application.
The problem is I tried to get the content and show them on front-end side, But it does not matter how I want to get them it shows constantly below error message:
ValueError: too many values to unpack
code for form I haved used: http://paste.ubuntu.com/p/94QKgWdNT9/
My model: http://paste.ubuntu.com/p/JrRbX263pd/
Client side code: http://paste.ubuntu.com/p/Q3rfgNpbdN/