2

I'm tied to WTForms and SQLAlchemy and I would like to save some typing.

How I can examine SQLA models schema (I use declarative models), and use things like nullable=False, Unicode(50), to generate form fields with basic validators set-up (Required if nullable is false, Length if field is 'varchar' with max value etc.)

1 Answer 1

2

I found this: WTAlchemy maybe will be useful for someone

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.