November 2014
Intermediate to advanced
258 pages
5h 15m
English
In this recipe, we will create some custom forms using the forms provided by Flask-Admin. Also, we will create a custom action using the custom form.
In the last recipe, we saw that the edit form view for the User record update had no option to update the password for the user. The form looked like the following screenshot:

In this recipe, we will customize this form to allow administrators to update the password for any user.
The implementation of this feature will just require changes to views.py. First, we will start by importing rules from the Flask-Admin forms:
from flask.ext.admin.form ...
Read now
Unlock full access