diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-09 18:26:00 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-09 18:26:00 +0100 |
commit | 749b0447287332c200585c2eb7ef6c4833b815d5 (patch) | |
tree | 158fe9dd394355a6115d272bcf783c29ce22d31b | |
parent | c919e337bf6afff22172a4a1f03581bc389431cd (diff) | |
download | archweb-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>
-rw-r--r-- | public/views.py | 1 |
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) |