Closed gbrova closed 9 years ago
access a user's data with g.user or current_user (from flask.ext.login)
Also, this prompted db change. I would suggest deletion of main.db before you run flask (ie before "run.py" is executed) so that main.db is reset
For example, see part 4 of the tutorial: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-v-user-logins