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.12.20200715.7fa5a26.fc39 RPM for noarch

From Fedora 39 for aarch64 / p

Name: python3-flask-wtf-decorators Distribution: Fedora Project
Version: 0.1.2 Vendor: Fedora Project
Release: 0.12.20200715.7fa5a26.fc39 Build date: Fri Jul 21 11:46:51 2023
Group: Unspecified Build host: buildvm-x86-06.iad2.fedoraproject.org
Size: 6865 Source RPM: python-flask-wtf-decorators-0.1.2-0.12.20200715.7fa5a26.fc39.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 Jul 21 2023 Fedora Release Engineering <[email protected]> - 0.1.2-0.12.20200715.7fa5a26
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jun 16 2023 Python Maint <[email protected]> - 0.1.2-0.11.20200715.7fa5a26
  - Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <[email protected]> - 0.1.2-0.10.20200715.7fa5a26
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <[email protected]> - 0.1.2-0.9.20200715.7fa5a26
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 14 2022 Python Maint <[email protected]> - 0.1.2-0.8.20200715.7fa5a26
  - Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 0.1.2-0.7.20200715.7fa5a26
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Fedora Release Engineering <[email protected]> - 0.1.2-0.6.20200715.7fa5a26
  - Second attempt - Rebuilt for
    https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

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 22:15:25 2024