Open vincentporte opened 1 year ago
Not sure why you would like to automate the form generation? There is this library that I've never used but it could do the trick: https://github.com/boardpack/reforms Otherwise you could use WTForms https://wtforms.readthedocs.io/en/3.0.x/ in combination with https://github.com/wtforms/wtforms-sqlalchemy for example.
ref: templates.organizations.form.html
question: how to automate form generation based on pydantic models/schemas, to make it reusable ?