This version of registration did not include the display_name in the
user_edit screen. When I added that field, changes were not reflected
in the database. To get this to work I made the following changes:
from <PROJECT> import model
....
def update_user(self, display_name, email, old_password,
password1, password2, user_name=None, **kwds):
"Updates the users information with new values."
#user = identity.current.user
user = model.User.get(identity.current.user.user_id)
This gets a user object that is tied to our session. (I am using
SQLAlchemy).
(I thought this would be of interest. I submitted an email yesterday,
but it never made the list)