Thu, 14 Nov 2024 21:18:11 UTC | login

Information for build python-flask-wtf-decorators-0.1.2-0.3.20200715.7fa5a26.fc33

ID170107
Package Namepython-flask-wtf-decorators
Version0.1.2
Release0.3.20200715.7fa5a26.fc33
Epoch
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
Built bydavidlt
State complete
Volume DEFAULT
StartedThu, 13 Aug 2020 11:29:07 UTC
CompletedThu, 13 Aug 2020 11:29:07 UTC
Tags
f33
f37
f38
RPMs
src
python-flask-wtf-decorators-0.1.2-0.3.20200715.7fa5a26.fc33.src.rpm (info) (download)
noarch
python3-flask-wtf-decorators-0.1.2-0.3.20200715.7fa5a26.fc33.noarch.rpm (info) (download)
Changelog * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-0.3.20200715.7fa5a26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 14 2020 Jakub Kadlčík <jkadlcik@redhat.com> - 0.1.2-0.2.20200715.7fa5a26 - Use proper pre-release versioning * Tue Jul 14 2020 Jakub Kadlcik <jkadlcik@redhat.com> - 0.1.2-20200704.7fa5a26 - Run tests in the check phase - Rename this file to python-flask-wtf-decorators.spec * Tue Jul 14 2020 Jakub Kadlcík <jkadlcik@redhat.com> - 0.1.2-20200703.7fa5a26 - Provide python3 subpackage * Thu Jul 02 2020 Jakub Kadlcik <jkadlcik@redhat.com> - Initial package