diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-09 11:26:00 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-09 11:26:00 -0600 |
commit | 749b0447287332c200585c2eb7ef6c4833b815d5 (patch) | |
tree | 158fe9dd394355a6115d272bcf783c29ce22d31b | |
parent | c919e337bf6afff22172a4a1f03581bc389431cd (diff) |
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 66c3a74f..1f7006a6 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) |