Answer the question
In order to leave comments, you need to log in
How to override the registration form in Flask-Security?
Hello!
The task is to override the standard registration form in Flask-Security, namely, to remove all label attributes from there.
In the documentation, in the form customization section, there is such an item, but in the example, fields are added to the form, and I need to change the standard one.
Answer the question
In order to leave comments, you need to log in
When creating a Security instance, simply pass the desired form through the argument register_form
:
But you will probably still need to use the mixins provided by Flask-Security .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question