-
python3-flask-theme-0.3.5-1.lbn36.noarch
flask-theme --flask-theme provides infrastructure for theming support in Flask
applications. It takes care of:- loading themes - rendering templates from
themes - serving static files like CSS and images from themes* documentation <
* development version <
Located in
LBN
/
…
/
Data Science
/
BastionLinux 36
-
python3-flask-turnstile-0.1.1-1.lbn36.noarch
Flask-Turnstile [
@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
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36