SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python3-flask-wtf-decorators rpm build for : Fedora 32. For other distributions click python3-flask-wtf-decorators.

Name : python3-flask-wtf-decorators
Version : 0.1.2 Vendor : Fedora Project
Release : 0.2.20200715.7fa5a26.fc32 Date : 2020-07-16 12:32:43
Group : Unspecified Source RPM : python-flask-wtf-decorators-0.1.2-0.2.20200715.7fa5a26.fc32.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: /packages/linux-pbone/archive.fedoraproject.org/fedora/linux/updates/32/Everything/armhfp/Packages/p

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  python3-flask-wtf-decorators-0.1.2-0.2.20200715.7fa5a26.fc32.noarch.rpm
     

Provides :
python3-flask-wtf-decorators
python3.8dist(flask-wtf-decorators)
python3dist(flask-wtf-decorators)

Requires :
python(abi) = 3.8
python3.8dist(flask) >= 0.7
python3.8dist(flask-wtf) >= 0.9
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/python3.8/site-packages/Flask_WTF_Decorators-0.1.2-py3.8.egg-info
/usr/lib/python3.8/site-packages/Flask_WTF_Decorators-0.1.2-py3.8.egg-info/PKG-INFO
/usr/lib/python3.8/site-packages/Flask_WTF_Decorators-0.1.2-py3.8.egg-info/SOURCES.txt
/usr/lib/python3.8/site-packages/Flask_WTF_Decorators-0.1.2-py3.8.egg-info/dependency_links.txt
/usr/lib/python3.8/site-packages/Flask_WTF_Decorators-0.1.2-py3.8.egg-info/requires.txt
/usr/lib/python3.8/site-packages/Flask_WTF_Decorators-0.1.2-py3.8.egg-info/top_level.txt
/usr/lib/python3.8/site-packages/flask_wtf_decorators
/usr/lib/python3.8/site-packages/flask_wtf_decorators/__init__.py
/usr/lib/python3.8/site-packages/flask_wtf_decorators/__pycache__
/usr/lib/python3.8/site-packages/flask_wtf_decorators/__pycache__/__init__.cpython-38.opt-1.pyc
/usr/lib/python3.8/site-packages/flask_wtf_decorators/__pycache__/__init__.cpython-38.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

 
ICM