From 749b0447287332c200585c2eb7ef6c4833b815d5 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 9 Mar 2012 11:26:00 -0600 Subject: Ensure users only show up once on the Fellows page If a user was in both Developer and TU groups, they would show up twice. Signed-off-by: Dan McGee --- public/views.py | 1 + 1 file changed, 1 insertion(+) (limited to 'public') diff --git a/public/views.py b/public/views.py index 66c3a74..1f7006a 100644 --- a/public/views.py +++ b/public/views.py @@ -49,6 +49,7 @@ def userlist(request, user_type='devs'): else: raise Http404 + users = users.distinct() context = USER_LISTS[user_type].copy() context['users'] = users return direct_to_template(request, 'public/userlist.html', context) -- cgit v1.2.3-24-g4f1b