Skip to main content

SQLAlchemy tools for WTForms

Project description

https://travis-ci.org/wtforms/wtforms-sqlalchemy.svg?branch=master

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

Python 3.6, 3.7 & 3.8 are supported.

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.2.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

WTForms_SQLAlchemy-0.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: WTForms-SQLAlchemy-0.2.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for WTForms-SQLAlchemy-0.2.tar.gz
Algorithm Hash digest
SHA256 2ef019cb9bf1e544911b3e08aff963b67fb9409db9d2029eb71c73d1af1f8f16
MD5 29dc6647841c93ca42a677adf7c39905
BLAKE2b-256 0ddec40cf5e49ebe21d43ded5b17c5db4c507b8c309d668f83274f9d43d11ca5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: WTForms_SQLAlchemy-0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for WTForms_SQLAlchemy-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5160250c04782e26a7485a3913b8d52c2548b609ee3117f3e32aee2c20c919ba
MD5 ea2657e3bf5838120a83cfcb5a6c7226
BLAKE2b-256 b80c47a2e5f0dc74c51160d414ab504d764247a4ff759a3b8785b49baf8bb341

See more details on using hashes here.

Supported by

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