You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the purpose of my website, I use Flask-SuperAdmin. I found there is a feature missing (if i'm correct, but i didn't find it after reviewing the code...), so I implemented it. I think it's useful to be able to change the field names which appears in the header of the list.html and are often not good enough for a proper administration section display (not the good language, too obscur,...). Have a way to be able to change it will be great.
The only change I made are these three lines in flask_superadmin/model/base.py
Hello,
For the purpose of my website, I use Flask-SuperAdmin. I found there is a feature missing (if i'm correct, but i didn't find it after reviewing the code...), so I implemented it. I think it's useful to be able to change the field names which appears in the header of the list.html and are often not good enough for a proper administration section display (not the good language, too obscur,...). Have a way to be able to change it will be great.
The only change I made are these three lines in flask_superadmin/model/base.py
Therefore, we just have to define a
field_name_dict
into a Model View to do the job. For example,If it seems to be a good feature to add, I can propose a merge request.
The text was updated successfully, but these errors were encountered: