G
G
GoAi2022-01-17 14:43:33
Flask
GoAi, 2022-01-17 14:43:33

How to customize registration in flask-security?

I saw in the flask-security documentation that it is possible to customize the registration form (add fields). I tried to do as it says there: inherit the RegisterForm class, set the security settings so that my form is used (CustomRegisterForm), naturally added the appropriate fields to the database. however, in the html template, the fields I added do not appear. What am I doing wrong, please help me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GoAi, 2022-01-18
@GoAi

The answer is found in the comments of the flask-security author's repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question