#

# WTForms Documentation

This is the documentation for WTForms 2.1, generated June 06, 2018.

For a quick introduction, as well as download/installation instructions, check out the Crash Course.

Coming from WTForms 1.x? Check out What’s New in WTForms 2.

API

- Forms
  - The Form class
  - Defining Forms
  - Using Forms
  - Low-Level API
- Fields
  - Field definitions
  - The Field base class
  - Basic fields
  - Convenience Fields
  - Field Enclosures
  - Custom Fields
  - Additional Helper Classes
- Validators
  - Built-in validators
  - Custom validators
- Widgets
  - Built-in widgets
  - Widget-Building Utilities
  - Custom widgets
- class Meta
- CSRF Protection
  - Using CSRF
  - How WTForms CSRF works
  - Creating your own CSRF implementation
  - Session-based CSRF implementation
- Extensions
  - Appengine
  - Dateutil
  - Django
  - SQLAlchemy
  - CSRF
  - I18n

Additional Help

- FAQ
- Solving Specific Problems
- Crash Course
- Internationalization (i18n)
- WTForms Changelog
- Contributing to WTForms
- What’s New in WTForms 2

Indices and tables:

- Index
- Module Index
- Search Page