makyo/ideawheel — pull request #34 by makyo (2013-09-26 00:11:49+00:00)
Title: Show/Edit profile

* Adds (unstyled) templates for show_user and edit_user
* Completes show_user, with edit link if current user or admin
* Completes edit_user
* If admin, no password required, can't edit password or email, can edit user_type
* If current user password required, can edit password and email
* Adds user object stored on **g** so that we have easy access to utility methods like is_staff/is_admin
* Adds utility methods for checking a password and generating a hash.
* Scooting utility methods to be all together in views/user_management

resolves #4 - Would like a review on at least views/user_management.py:edit_user()