Skip to main content

SQLAlchemy tools for WTForms

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wtforms_sqlalchemy-0.4.2.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

wtforms_sqlalchemy-0.4.2-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file wtforms_sqlalchemy-0.4.2.tar.gz.

File metadata

  • Download URL: wtforms_sqlalchemy-0.4.2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for wtforms_sqlalchemy-0.4.2.tar.gz
Algorithm Hash digest
SHA256 638f23372e654eded3c19ea605a2d318062e26234772977b9bb1619160eed798
MD5 99f81aa4263ee9249c1c5f72d0f78606
BLAKE2b-256 8c3958e06f6b38b220820a831a957b20035ae8c9e763d654da883c9dc282cfca

See more details on using hashes here.

File details

Details for the file wtforms_sqlalchemy-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for wtforms_sqlalchemy-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5dfa6b9cd8c0fab644178af6a90adc057c1c2695a17c20a074f1f3c4d49a434d
MD5 c93714f14f8a9889c25d68d952791532
BLAKE2b-256 4e2e0182ee7e62816f4bc6dea4e369f61c365c74d15caeb82b87be9c96d9e8b5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page