From ad213fc7d53a172c05cc2733c4320f6a1bb711be Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 17 May 2011 10:08:14 +0000 Subject: [PATCH] fixing a small bug that appeared in Revision 1039 git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1041 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/views/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/views/users.py b/forum/views/users.py index 9dbde3e..e6abdc4 100644 --- a/forum/views/users.py +++ b/forum/views/users.py @@ -306,7 +306,7 @@ def user_profile(request, user): up_votes = user.vote_up_count down_votes = user.vote_down_count votes_today = user.get_vote_count_today() - votes_total = users.can_vote_count_today() + votes_total = user.can_vote_count_today() user_tags = Tag.objects.filter(Q(nodes__author=user) | Q(nodes__children__author=user)) \ .annotate(user_tag_usage_count=Count('name')).order_by('-user_tag_usage_count') -- 2.39.5