Sat, 23 Nov 2024 00:59:06 UTC | login

Information for RPM python-flask-wtf-decorators-0.1.2-0.16.20200715.7fa5a26.fc41.src.rpm

ID1365583
Namepython-flask-wtf-decorators
Version0.1.2
Release0.16.20200715.7fa5a26.fc41
Epoch
Archsrc
SummaryUse decorators to validate forms
DescriptionFlask-WTF-Decorators is easy to use. You can define a view that requires validation. from flask-wtf-decorators import FormValidator form_validator = FormValidator() @form_validator.validate_form(TestForm) @app.route('/', methods=['GET', 'POST']) def index(form): pass You can tell Flask-WTF-Decorators what to do when a form is illegal. To do this you should provide a callback for error_handler. @form_validator.error_handler def error_handler(errors): return jsonify({'errors': errors}), 400
Build Time2024-07-20 02:36:36 GMT
Size17.94 KB
5928c836e9a8f0dba0d0c0bd262c6c65
LicenseMIT
Provides
python3-flask-wtf-decorators = 0.1.2-0.16.20200715.7fa5a26.fc41
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
python3-devel
python3-flask-wtf
python3-setuptools
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 2 of 2
Name ascending sort Size
python-flask-wtf-decorators-7fa5a26.tar.gz3.35 KB
python-flask-wtf-decorators.spec4.19 KB
Component of No Buildroots