]> git.openstreetmap.org Git - osqa.git/commitdiff
fixing a small bug that appeared in Revision 1039
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 17 May 2011 10:08:14 +0000 (10:08 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 17 May 2011 10:08:14 +0000 (10:08 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1041 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/views/users.py

index 9dbde3eaf179808ef54e939ed613d555a0d65e5a..e6abdc488987f70694d8b989b043f253783d3ccd 100644 (file)
@@ -306,7 +306,7 @@ def user_profile(request, user):
     up_votes = user.vote_up_count\r
     down_votes = user.vote_down_count\r
     votes_today = user.get_vote_count_today()\r
-    votes_total = users.can_vote_count_today()\r
+    votes_total = user.can_vote_count_today()\r
 \r
     user_tags = Tag.objects.filter(Q(nodes__author=user) | Q(nodes__children__author=user)) \\r
         .annotate(user_tag_usage_count=Count('name')).order_by('-user_tag_usage_count')\r