diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-26 13:25:12 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-26 13:25:12 -0500 |
commit | 0be32f0a388267e54d9ab88e64391f355dafdfb5 (patch) | |
tree | aa269ad70c4feea15d78e07478dc451c75eb9a0d /public/views.py | |
parent | 56c773b32fc68639eb55666b6cfaa32bc9618321 (diff) |
A bunch of whitespace or .example/whatever changes
to reduce stupid differences between us and upstream archweb
Diffstat (limited to 'public/views.py')
-rw-r--r-- | public/views.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/public/views.py b/public/views.py index 1aae2846..bb9cd454 100644 --- a/public/views.py +++ b/public/views.py @@ -31,11 +31,13 @@ USER_LISTS = { } def userlist(request, user_type='hackers'): - users = User.objects.order_by('username').select_related('userprofile') + users = User.objects.order_by( + 'username').select_related('userprofile') if user_type == 'hackers': users = users.filter(is_active=True, groups__name="Hackers") elif user_type == 'fellows': - users = users.filter(is_active=False, groups__name__in=["Hackers"]) + users = users.filter(is_active=False, + groups__name__in=["Hackers"]) else: raise Http404 |