Tue, 26 Nov 2024 16:07:52 UTC | login

Information for RPM python-flask-wtf-decorators-0.1.2-0.3.20200715.7fa5a26.fc33.src.rpm

ID653077
Namepython-flask-wtf-decorators
Version0.1.2
Release0.3.20200715.7fa5a26.fc33
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 Time2020-07-29 17:11:51 GMT
Size12.12 KB
0a39080c980f0b99f64742e56bfbef11
LicenseMIT
Provides
python3-flask-wtf-decorators = 0.1.2-0.3.20200715.7fa5a26.fc33
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
python3-devel
python3-flask-wtf
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.spec2.19 KB
Component of No Buildroots