WTForms: What The Forms
WTForms is a HTTP/HTML forms handling library, written in Python. It handles definition, validation and rendering in a flexible and i18n friendly way. It heavily reduces boilerplate and is completely unicode aware.
WTForms attempts to be as loosely coupled as possible, while still giving you options to leave ugly boilerplate out. We have tested it as working with both Django and Werkzeug request processing, and Django as well as Jinja templates. It will work with any templating engine that allows access to attributes and/or __str__, __unicode__ and __call__.
WTForms was created in late 2006, when Django's forms framework (and later newforms) just didn't meet our needs, and resulted in messy code. We thought we could do better, and we think we have.
There is no official documentation as yet, but we are working on it. In the meantime, you might want to check out our Crash Course. If you want to contribute documentation, we will gladly accept patches, or you can add pages to the wiki.
If you want to file a bug or submit a patch, please register and use your account to create a ticket.
The Mercurial repository can be browsed here, and checked out with:
hg clone http://dev.simplecodes.com/hg/wtforms
