Name : python3-flask-wtf-decorators
| |
Version : 0.1.2
| Vendor : Fedora Project
|
Release : 0.17.20200715.7fa5a26.fc42
| Date : 2024-10-30 21:59:12
|
Group : Unspecified
| Source RPM : python-flask-wtf-decorators-0.1.2-0.17.20200715.7fa5a26.fc42.src.rpm
|
Size : 0.01 MB
| |
Packager : Fedora Project
| |
Summary : Use decorators to validate forms
|
Description :
Flask-WTF-Decorators is easy to use. You can define a view that requires validation.
from flask-wtf-decorators import FormValidator
form_validator = FormValidator()
AATTform_validator.validate_form(TestForm) AATTapp.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.
AATTform_validator.error_handler def error_handler(errors): return jsonify({\'errors\': errors}), 400
|
RPM found in directory: /vol/rzm3/linux-fedora-buffet/fedora-secondary/development/rawhide/Everything/s390x/os/Packages/p |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
python-flask-wtf-decorators
python3-flask-wtf-decorators
python3.13-flask-wtf-decorators
python3.13dist(flask-wtf-decorators)
python3dist(flask-wtf-decorators)
Requires :