Form fields

Form fields

class Field(**kwargs) [source]

When you create a Form class, the most important part is defining the fields of the form. Each field has custom validation logic, along with a few other hooks.

Field.clean(value) [source]

Although the primary way you’ll use Field classes is in Form classes, you can also instantiate them and use them direct