Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/column_conversion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ WTForms-Alchemy also supports many types provided by SQLAlchemy-Utils.
ColorType wtforms_components.fields.ColorField
CountryType wtforms_alchemy.fields.CountryType
EmailType wtforms_components.fields.EmailField
GenderType wtforms_components.fields.GenderField
IPAddressType wtforms_components.fields.IPAddressField
PasswordType wtforms.fields.PasswordField
PhoneNumberType wtforms_components.fields.PhoneNumberField
Expand Down
2 changes: 2 additions & 0 deletions wtforms_alchemy/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
DecimalField,
DecimalIntervalField,
EmailField,
GenderField,
IntegerField,
IntIntervalField,
SelectField,
Expand Down Expand Up @@ -95,6 +96,7 @@ class FormGenerator(object):
(types.DateRangeType, DateIntervalField),
(types.DateTimeRangeType, DateTimeIntervalField),
(types.EmailType, EmailField),
(types.GenderType, GenderField),
(types.IntRangeType, IntIntervalField),
(types.NumericRangeType, DecimalIntervalField),
(types.PasswordType, PasswordField),
Expand Down