WTForms v1.0 Release Notes
-
๐ Released 2012-02-28
- 0๏ธโฃ Output HTML5 compact syntax by default.
- โ Substantial code reorg, cleanup, and test improvements.
- Added
ext.csrf
for a way to implement CSRF protection. - ๐
ext.sqlalchemy
supportsPGInet
,MACADDR
, andUUID
field conversion. - 0๏ธโฃ
ext.sqlalchemy
supports callable defaults. - ๐
ext.appengine
model_form
now supports generating forms with the same ordering as model. -
ext.appengine
ReferencePropertyField
now getsget_label
like the other ORM fields. - ๐ Add localization support for WTForms built-in messages.
- ๐ Python 3 support (via 2to3).
- An empty label string can be specified on fields if desired.
-
Option
widget can now take kwargs customization. - 0๏ธโฃ Field subclasses can provide default validators as a class property.
-
DateTimeField
can take time in microseconds. - Numeric fields all set
.data
toNone
on coercion error for consistency.