noisebridge / pyclass-project

Other
8 stars 2 forks source link

Create account settings page #20

Closed Belgand closed 12 years ago

Belgand commented 12 years ago

A user should be able to change their first name, last name, and e-mail address. Of course, their name and e-mail should also be displayed before they change it. It should also provide a link to the page where a user can change their password.

This page should only be accessible to a user who is logged in (the login_required decorator would be a good idea here) and should only allow a user to change their own data.

For consistency the URL should be something along the lines of /accounts/settings/ so that it will match /accounts/profile/<username>.

Django's documentation on user authentication has a lot of information on how to perform many of these operations and details a number of built-in forms and views to deal with things like changing passwords as well so it's a good idea to check it out rather than trying to do it all from scratch.