Commit 749b0447 authored by Dan McGee's avatar Dan McGee
Browse files

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: default avatarDan McGee <dan@archlinux.org>
parent c919e337
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment