diff options
author | Rick Ross <rick@dzone.com> | 2010-01-16 10:33:24 -0500 |
---|---|---|
committer | Rick Ross <rick@dzone.com> | 2010-01-16 10:33:24 -0500 |
commit | 5d111e5898e7a8f9df9eb7c3fa7fb6fa8fca1bc0 (patch) | |
tree | 4d533ff03cbbac46d1001b29173da49f129db4a1 | |
parent | ab7193ae3ca32958fa64cd5222919a4ca95a33c1 (diff) | |
download | askbot-5d111e5898e7a8f9df9eb7c3fa7fb6fa8fca1bc0.tar.gz askbot-5d111e5898e7a8f9df9eb7c3fa7fb6fa8fca1bc0.tar.bz2 askbot-5d111e5898e7a8f9df9eb7c3fa7fb6fa8fca1bc0.zip |
fixes a bug that caused an exception when you clicked a badge to see who has it
-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, |