SQLAlchemy tools for WTForms
Project description
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
Provide SelectField integration with SQLAlchemy models
wtforms_sqlalchemy.fields.QuerySelectField
wtforms_sqlalchemy.fields.QuerySelectMultipleField
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 638f23372e654eded3c19ea605a2d318062e26234772977b9bb1619160eed798 |
|
MD5 | 99f81aa4263ee9249c1c5f72d0f78606 |
|
BLAKE2b-256 | 8c3958e06f6b38b220820a831a957b20035ae8c9e763d654da883c9dc282cfca |
File details
Details for the file wtforms_sqlalchemy-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: wtforms_sqlalchemy-0.4.2-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dfa6b9cd8c0fab644178af6a90adc057c1c2695a17c20a074f1f3c4d49a434d |
|
MD5 | c93714f14f8a9889c25d68d952791532 |
|
BLAKE2b-256 | 4e2e0182ee7e62816f4bc6dea4e369f61c365c74d15caeb82b87be9c96d9e8b5 |