S
S
Soerx2020-08-14 12:29:28
Flask
Soerx, 2020-08-14 12:29:28

How to change the labels in the login form to your own in Flask-Security?

Installed Flask-Security, set it up, now everything seems to be working fine, authorization, etc., but now how to change the text in the labels? I was able to customize the entire form through the template, but now I can't change the text to my own.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ramil2000, 2020-08-16
@Ramil2000

1. You go to Flask-Security
2. You find the forms.py file 3.
In this file you find the _default_field_labels dictionary and start creating)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question