changeset 28 | e137b605b888 |
parent 27 | 8d52492d3c14 |
child 39 | 476613c3ab0a |
--- a/taskapp/views/user.py Thu Feb 04 23:17:59 2010 +0530 +++ b/taskapp/views/user.py Thu Feb 04 23:19:15 2010 +0530 @@ -128,3 +128,7 @@ profile = Profile.objects.get(user = request.user) edit_profile_form = UserProfileEditForm(instance = profile) return render_to_response('user/edit_profile.html',{'edit_profile_form' : edit_profile_form}) + +def browse_users(request): + userlist = User.objects.order_by('username') + return render_to_response('user/browse.html',{'userlist':userlist})