diff options
author | Rick Ross <rick@dzone.com> | 2010-01-16 10:33:48 -0500 |
---|---|---|
committer | Rick Ross <rick@dzone.com> | 2010-01-16 10:33:48 -0500 |
commit | 3bbb1a6d091bff45172e44e135d684ec3ccb8b4a (patch) | |
tree | 4d533ff03cbbac46d1001b29173da49f129db4a1 /forum | |
parent | 5ca23a8d9acff3306e39e3cf99ceea1aa03e80d6 (diff) | |
download | askbot-3bbb1a6d091bff45172e44e135d684ec3ccb8b4a.tar.gz askbot-3bbb1a6d091bff45172e44e135d684ec3ccb8b4a.tar.bz2 askbot-3bbb1a6d091bff45172e44e135d684ec3ccb8b4a.zip |
fixes a bug that caused an exception when you clicked a badge to see who has it
Diffstat (limited to 'forum')
-rw-r--r-- | forum/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/views.py b/forum/views.py index 20ca2f6a..ca656b98 100644 --- a/forum/views.py +++ b/forum/views.py @@ -2091,7 +2091,7 @@ def badge(request, id): tables=['award', 'auth_user'], where=['badge_id=%s AND user_id=auth_user.id'], params=[id] - ).values('id').distinct() + ).distinct('id') return render_to_response('badge.html', { 'awards' : awards, |