diff options
-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, |