Skip to main content

SQLAlchemy tools for WTForms

Project description

https://travis-ci.org/wtforms/wtforms-sqlalchemy.svg?branch=master 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.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

WTForms_SQLAlchemy-0.4.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file WTForms-SQLAlchemy-0.4.0.tar.gz.

File metadata

  • Download URL: WTForms-SQLAlchemy-0.4.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for WTForms-SQLAlchemy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 39f3437617ae4f9aaa826806168a3089067b020e03d3fe45af4c31520ec42c8e
MD5 d2a045cec462657f3252d6197069e22e
BLAKE2b-256 641c47cc95d79e05e57f92a325f64c8d289df9edafaaa9e157a5a5874f25259f

See more details on using hashes here.

File details

Details for the file WTForms_SQLAlchemy-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for WTForms_SQLAlchemy-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 feeb2e11b1ae31fd23c483f7a6a6ab4d1a675566d40b83b201ae539b23ac94aa
MD5 829a4f9835118c1f70b21118856743da
BLAKE2b-256 711ae2069f36b587707b0efe88855509dac397fdea39e4bd5aa26964424bd536

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