summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-26 13:25:12 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-26 13:25:12 -0500
commit0be32f0a388267e54d9ab88e64391f355dafdfb5 (patch)
treeaa269ad70c4feea15d78e07478dc451c75eb9a0d /public
parent56c773b32fc68639eb55666b6cfaa32bc9618321 (diff)
A bunch of whitespace or .example/whatever changes
to reduce stupid differences between us and upstream archweb
Diffstat (limited to 'public')
-rw-r--r--public/views.py6
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