Permalink
Browse files

Fix

  • Loading branch information...
1 parent 8b2bd89 commit d61bb9483aea5d498d444a82070cab1e335f5792 @alex alex committed Oct 24, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 friends/views.py
View
@@ -11,11 +11,11 @@
@login_required
def find_friends(request):
if request.GET.get("q"):
- friends = User.objects.filter(username__icontains=request.GET["q"])
+ users = User.objects.filter(username__icontains=request.GET["q"])
else:
- friends = None
+ users = None
return render_to_response("friends/find_friends.html", {
- "friends": friends,
+ "users": users,
}, context_instance=RequestContext(request))
"""

0 comments on commit d61bb94

Please sign in to comment.