|
1 | | -from wtforms.fields.choices import * |
2 | | -from wtforms.fields.choices import SelectFieldBase as SelectFieldBase |
| 1 | +from wtforms.fields.choices import ( |
| 2 | + RadioField as RadioField, |
| 3 | + SelectField as SelectField, |
| 4 | + SelectMultipleField as SelectMultipleField, |
| 5 | +) |
3 | 6 | from wtforms.fields.core import Field as Field, Flags as Flags, Label as Label |
4 | | -from wtforms.fields.datetime import * |
5 | | -from wtforms.fields.form import * |
6 | | -from wtforms.fields.list import * |
7 | | -from wtforms.fields.numeric import * |
8 | | -from wtforms.fields.simple import * |
| 7 | +from wtforms.fields.datetime import ( |
| 8 | + DateField as DateField, |
| 9 | + DateTimeField as DateTimeField, |
| 10 | + DateTimeLocalField as DateTimeLocalField, |
| 11 | + MonthField as MonthField, |
| 12 | + TimeField as TimeField, |
| 13 | + WeekField as WeekField, |
| 14 | +) |
| 15 | +from wtforms.fields.form import FormField as FormField |
| 16 | +from wtforms.fields.list import FieldList as FieldList |
| 17 | +from wtforms.fields.numeric import ( |
| 18 | + DecimalField as DecimalField, |
| 19 | + DecimalRangeField as DecimalRangeField, |
| 20 | + FloatField as FloatField, |
| 21 | + IntegerField as IntegerField, |
| 22 | + IntegerRangeField as IntegerRangeField, |
| 23 | +) |
| 24 | +from wtforms.fields.simple import ( |
| 25 | + BooleanField as BooleanField, |
| 26 | + ColorField as ColorField, |
| 27 | + EmailField as EmailField, |
| 28 | + FileField as FileField, |
| 29 | + HiddenField as HiddenField, |
| 30 | + MultipleFileField as MultipleFileField, |
| 31 | + PasswordField as PasswordField, |
| 32 | + SearchField as SearchField, |
| 33 | + StringField as StringField, |
| 34 | + SubmitField as SubmitField, |
| 35 | + TelField as TelField, |
| 36 | + TextAreaField as TextAreaField, |
| 37 | + URLField as URLField, |
| 38 | +) |
| 39 | +from wtforms.utils import unset_value as _unset_value |
| 40 | + |
| 41 | +__all__ = [ |
| 42 | + "Field", |
| 43 | + "Flags", |
| 44 | + "Label", |
| 45 | + "SelectField", |
| 46 | + "SelectMultipleField", |
| 47 | + "RadioField", |
| 48 | + "DateTimeField", |
| 49 | + "DateField", |
| 50 | + "TimeField", |
| 51 | + "MonthField", |
| 52 | + "DateTimeLocalField", |
| 53 | + "WeekField", |
| 54 | + "FormField", |
| 55 | + "IntegerField", |
| 56 | + "DecimalField", |
| 57 | + "FloatField", |
| 58 | + "IntegerRangeField", |
| 59 | + "DecimalRangeField", |
| 60 | + "BooleanField", |
| 61 | + "TextAreaField", |
| 62 | + "PasswordField", |
| 63 | + "FileField", |
| 64 | + "MultipleFileField", |
| 65 | + "HiddenField", |
| 66 | + "SearchField", |
| 67 | + "SubmitField", |
| 68 | + "StringField", |
| 69 | + "TelField", |
| 70 | + "URLField", |
| 71 | + "EmailField", |
| 72 | + "ColorField", |
| 73 | + "FieldList", |
| 74 | + "_unset_value", |
| 75 | +] |
0 commit comments