pytask/taskapp/views/user.py
changeset 22 943a35c14cf7
parent 21 3e676fa948c4
--- a/pytask/taskapp/views/user.py	Mon Feb 01 16:52:34 2010 +0530
+++ b/pytask/taskapp/views/user.py	Mon Feb 01 17:30:30 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})