Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A flexible forms validation and rendering library for Python.

License

NotificationsYou must be signed in to change notification settings

pallets-eco/wtforms

WTForms is a flexible forms validation and rendering library for Pythonweb development. It can work with whatever web framework and templateengine you choose. It supports data validation, CSRF protection,internationalization (I18N), and more. There are various communitylibraries that provide closer integration with popular frameworks.

Installation

Install and update using pip:

pip install -U WTForms

Third-Party Library Integrations

WTForms is designed to work with any web framework and template engine.There are a number of community-provided libraries that make integratingwith frameworks even better.

  • Flask-WTF integrates with the Flask framework. It canautomatically load data from the request, uses Flask-Babel totranslate based on user-selected locale, provides full-applicationCSRF, and more.
  • WTForms-Alchemy provides rich support for generating forms fromSQLAlchemy models, including an expanded set of fields andvalidators.
  • WTForms-SQLAlchemy provides ORM-backed fields and form generationfrom SQLAlchemy models.
  • WTForms-Bootstrap5 provides Bootstrap 5 favor renderer withgreat customizability.
  • Starlette-WTF integrates with Starlette and the FastAPIframework, based on the features of Flask-WTF.
  • Bootstrap-Flask Bootstrap-Flask is a collection of Jinja macrosfor Bootstrap 4 & 5 and Flask using Flask-WTF.

Links


[8]ページ先頭

©2009-2025 Movatter.jp