Since Pyramid does not have any form dependencies, I need recommendations for form handling. This covers form generation, 开发者_C百科validation, etc. I only know wtforms, but I dont mind to use some other thing more advanced.
I'd recommend deform. Beyond supporting form generation and validation it has great documentation, a running demo app and it supports localization and ajax. I don't believe formalchemy directly support ajax.
I'm using FormAlchemy http://docs.formalchemy.org/pyramid_formalchemy/
Pyramid's author wrote Deform https://docs.pylonsproject.org/projects/deform/dev/
Go to the pseudo-standard form validator for pyramid:
Simple Form validator and rendering library
精彩评论