What's Supported?
Django Form to JSON Schema
A Django Form containing any number of the following Django Forms field classes.
BooleanField
CharField
ChoiceField
DateField
TimeField
DateTimeField
DecimalField
EmailField
FloatField
IntegerField
IPAddressField
GenericIPAddressField
SlugField
URLField
These field take a series of arguments. Here is a list of the field arguments supported so far:
Arguments common to all field classes
help_text
label
initial
required
Arguments common to string-based field classes
min_length
max_length
Arguments common to number-based field classes
min_value
max_value
ChoiceField argument
choices
WTForm to JSON Schema
A WTForm containing any of the following WTForms field classes.
BooleanField
DateField
DateTimeField
DecimalField
FloatField
IntegerField
RadioField
SelectField
SelectMultipleField
StringField
TextField
(deprecated, will be removed in WTForms 3.0)TextAreaField
Unsupported:
Field
FieldList
FileField
FormField
HiddenField
PasswordField
SelectFieldBase
SubmitField
These field take a series of arguments. Here is a list of the field arguments supported so far:
description
label
default
validators
The following validators are supported:
Length
NumberRange
Optional
Regexp