Skip to main content
https://github.com/wtforms/wtforms-sqlalchemy/actions/workflows/tests.yaml/badge.svg https://readthedocs.org/projects/wtforms-sqlalchemy/badge/?version=latest&style=flat

WTForms-SQLAlchemy is a fork of the wtforms.ext.sqlalchemy package from WTForms. The package has been renamed to wtforms_sqlalchemy but otherwise should function the same as wtforms.ext.sqlalchemy did.

to install:

pip install WTForms-SQLAlchemy

An example using Flask is included in examples/flask.

Features

  1. Provide SelectField integration with SQLAlchemy models

    • wtforms_sqlalchemy.fields.QuerySelectField

    • wtforms_sqlalchemy.fields.QuerySelectMultipleField

  2. Generate forms from SQLAlchemy models using wtforms_sqlalchemy.orm.model_form

Rationale

The reasoning for splitting out this package is that WTForms 2.0 has deprecated all its wtforms.ext.<library> packages and they will not receive any further feature updates. The authors feel that packages for companion libraries work better with their own release schedule and the ability to diverge more from WTForms.

Release files for WTForms-SQLAlchemy 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WTForms-SQLAlchemy 0.4.2
File Size Uploaded
wtforms_sqlalchemy-0.4.2.tar.gz 17.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for WTForms-SQLAlchemy 0.4.2
File Interpreter ABI Platform
wtforms_sqlalchemy-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 27.3 kB

Release files / wtforms_sqlalchemy-0.4.2.tar.gz

Download URL wtforms_sqlalchemy-0.4.2.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
638f23372e654eded3c19ea605a2d318062e26234772977b9bb1619160eed798
BLAKE2b-256 checksum
How to use checksums
8c3958e06f6b38b220820a831a957b20035ae8c9e763d654da883c9dc282cfca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.7

Release files / wtforms_sqlalchemy-0.4.2-py3-none-any.whl

Download URL wtforms_sqlalchemy-0.4.2-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5dfa6b9cd8c0fab644178af6a90adc057c1c2695a17c20a074f1f3c4d49a434d
BLAKE2b-256 checksum
How to use checksums
4e2e0182ee7e62816f4bc6dea4e369f61c365c74d15caeb82b87be9c96d9e8b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page