summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-09 18:26:00 +0100
committerDan McGee <dan@archlinux.org>2012-03-09 18:26:00 +0100
commit749b0447287332c200585c2eb7ef6c4833b815d5 (patch)
tree158fe9dd394355a6115d272bcf783c29ce22d31b /public
parentc919e337bf6afff22172a4a1f03581bc389431cd (diff)
downloadarchweb-749b0447287332c200585c2eb7ef6c4833b815d5.tar.gz
archweb-749b0447287332c200585c2eb7ef6c4833b815d5.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'public')
-rw-r--r--public/views.py1
1 files changed, 1 insertions, 0 deletions
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)