changeset 45 | ab8918e654ae |
parent 42 | 9b5b8c997598 |
child 60 | 3eac96608091 |
--- 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':