[ 原始碼: wtforms-alchemy ]
套件:python3-wtforms-alchemy(0.18.0-4)
python3-wtforms-alchemy 的相關連結
Debian 的資源:
下載原始碼套件 wtforms-alchemy:
- [wtforms-alchemy_0.18.0-4.dsc]
- [wtforms-alchemy_0.18.0.orig.tar.gz]
- [wtforms-alchemy_0.18.0-4.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
Tools for creating WTForms forms from SQLAlchemy models (library)
WTForms-Alchemy provides a helper class that let you create a Form class from a SQLAlchemy model. It does not try to replace all the functionality of wtforms.ext.sqlalchemy, only the model_form function of wtforms.ext.sqlalchemy by a much better solution. Other functionality of ext.sqlalchemy such as QuerySelectField and QuerySelectMultipleField can be used along with WTForms-Alchemy.
The benefits of WTForms-Alchemy ModelForm over wtforms.ext.sqlachemy’s model_form include:
* Provides explicit declaration of ModelForms (much easier to override certain columns) * Form generation supports Unique and NumberRange validators * Form inheritance support (along with form configuration inheritance) * Automatic SelectField type coercing based on underlying column type * By default uses wtforms_components SelectField for fields with choices. This field understands None values and renders nested datastructures as optgroups. * Provides better Unique validator * Supports custom user defined types as well as type decorators * Supports SQLAlchemy-Utils datatypes * Supports ModelForm model relations population * Smarter field exclusion * Smarter field conversion * Understands join table inheritance * Better configuration
其他與 python3-wtforms-alchemy 有關的套件
|
|
|
|
-
- dep: libjs-sphinxdoc (>= 7.2.2)
- JavaScript support for Sphinx documentation
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-sqlalchemy (>= 1.0)
- SQL toolkit and Object Relational Mapper for Python 3
-
- dep: python3-sqlalchemy-utils
- various utility functions for SQLAlchemy - Python 3.x
-
- dep: python3-wtforms
- Flexible forms validation and rendering library for Python 3
-
- dep: python3-wtforms-components
- additional fields, validators and widgets for WTForms