Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python3-flask-wtf-decorators-0.1.2-0.14.20200715.7fa5a26.fc40 RPM for noarch

From Fedora 40 for ppc64le / p

Name: python3-flask-wtf-decorators Distribution: Fedora Project
Version: 0.1.2 Vendor: Fedora Project
Release: 0.14.20200715.7fa5a26.fc40 Build date: Fri Jan 26 05:28:45 2024
Group: Unspecified Build host: buildvm-s390x-23.s390.fedoraproject.org
Size: 6921 Source RPM: python-flask-wtf-decorators-0.1.2-0.14.20200715.7fa5a26.fc40.src.rpm
Packager: Fedora Project
Url: https://github.com/simpleapples/flask-wtf-decorators
Summary: Use decorators to validate forms
Flask-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

Provides

Requires

License

MIT

Changelog

* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-0.14.20200715.7fa5a26
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-0.13.20200715.7fa5a26
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-0.12.20200715.7fa5a26
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 0.1.2-0.11.20200715.7fa5a26
  - Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-0.10.20200715.7fa5a26
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-0.9.20200715.7fa5a26
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.1.2-0.8.20200715.7fa5a26
  - Rebuilt for Python 3.11

Files

/usr/lib/python3.12/site-packages/Flask_WTF_Decorators-0.1.2-py3.12.egg-info
/usr/lib/python3.12/site-packages/Flask_WTF_Decorators-0.1.2-py3.12.egg-info/PKG-INFO
/usr/lib/python3.12/site-packages/Flask_WTF_Decorators-0.1.2-py3.12.egg-info/SOURCES.txt
/usr/lib/python3.12/site-packages/Flask_WTF_Decorators-0.1.2-py3.12.egg-info/dependency_links.txt
/usr/lib/python3.12/site-packages/Flask_WTF_Decorators-0.1.2-py3.12.egg-info/requires.txt
/usr/lib/python3.12/site-packages/Flask_WTF_Decorators-0.1.2-py3.12.egg-info/top_level.txt
/usr/lib/python3.12/site-packages/flask_wtf_decorators
/usr/lib/python3.12/site-packages/flask_wtf_decorators/__init__.py
/usr/lib/python3.12/site-packages/flask_wtf_decorators/__pycache__
/usr/lib/python3.12/site-packages/flask_wtf_decorators/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/flask_wtf_decorators/__pycache__/__init__.cpython-312.pyc
/usr/share/doc/python3-flask-wtf-decorators
/usr/share/doc/python3-flask-wtf-decorators/README.md
/usr/share/licenses/python3-flask-wtf-decorators
/usr/share/licenses/python3-flask-wtf-decorators/LICENSE.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Jul 9 23:56:58 2024