realpython / cookiecutter-flask-skeleton

Real Python Flask Starter Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to edit an already existing user?

alejandroandreu opened this issue · comments

Hi,

I'm using this skeleton for a project of mine and wanted to display a form so the user can edit its attributes (email address, display name, etc.). How can one achieve this using this template? I can display all of a user's attributes in the form and re-submit them, but how to make the actual update of the user?

Ok thanks. I guess that together with some calls to the SQLAlchemy API should do the trick.