app.t_roles.forms
Définition du formulaire : création/modification d’un role
Module Contents
Classes
No different from a normal select field, except this one can take (and |
|
Flask-specific subclass of WTForms |
|
Flask-specific subclass of WTForms |
- class app.t_roles.forms.MultiCheckboxField(label=None, validators=None, coerce=str, choices=None, validate_choice=True, **kwargs)[source]
Bases:
wtforms.SelectMultipleField
No different from a normal select field, except this one can take (and validate) multiple choices. You’ll need to specify the HTML size attribute to the select field when rendering.
- class app.t_roles.forms.Utilisateur(formdata=_Auto, **kwargs)[source]
Bases:
flask_wtf.FlaskForm
Flask-specific subclass of WTForms
Form
.If
formdata
is not specified, this will useflask.request.form
andflask.request.files
. Explicitly passformdata=None
to prevent this.