July 2019
Beginner to intermediate
302 pages
9h 38m
English
The implementation of this feature will only require changes to views.py:
from flask_admin.form import rules
In the previous recipe, we had form_edit_rules, which had just two fields; that is, username and admin as a list. This denoted the fields that will be available for editing to the admin user in the User model's update view.