how to use flask-admin for editing modelview
问题 How to set password_hash using generate_password_hash from the edit page of flask-admin i create a username and password in python shell. the password is hashing admin.add_view(MyModelView(User, db.session) - let me edit the User class Models when i edit the password and submit but the password is saved in plain text. How to edit password from flask-admin, the password should be save in hashing type My code is: from werkzeug.security import generate_password_hash, check_password_hash class