# HG changeset patch # User anoop # Date 1266596184 -19800 # Node ID ab8918e654aeb28b2484abcd259912214f8e51d2 # Parent 2b09336352b546be090b7c6901bb4fef3e42134b added forgot password in template. diff -r 2b09336352b5 -r ab8918e654ae taskapp/views/user.py --- a/taskapp/views/user.py Thu Feb 18 19:39:54 2010 +0530 +++ b/taskapp/views/user.py Fri Feb 19 21:46:24 2010 +0530 @@ -61,6 +61,7 @@ raise Http404 return render_to_response('user/my_profile.html', {'edit_profile':edit_profile,'profile':profile}) +@login_required def edit_my_profile(request): """ enables the user to edit his/her user profile """ if str(request.user) == 'AnonymousUser': diff -r 2b09336352b5 -r ab8918e654ae templates/base.html --- a/templates/base.html Thu Feb 18 19:39:54 2010 +0530 +++ b/templates/base.html Fri Feb 19 21:46:24 2010 +0530 @@ -3,5 +3,11 @@