summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-01 20:05:19 +0200
committerDan McGee <dan@archlinux.org>2010-10-01 20:05:22 +0200
commit77f65bdc0c9f5524ca68be511af4280f08fbcc13 (patch)
tree637c2afb48a0ecfc9707489919b8879ba2ac31a1 /public
parented6fbafb35ec9799ad182c45985355a2e0d67d50 (diff)
downloadarchweb-77f65bdc0c9f5524ca68be511af4280f08fbcc13.tar.gz
archweb-77f65bdc0c9f5524ca68be511af4280f08fbcc13.tar.xz
Allow donors to be invisible
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public')
-rw-r--r--public/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views.py b/public/views.py
index fa97ade..4306774 100644
--- a/public/views.py
+++ b/public/views.py
@@ -38,7 +38,7 @@ def userlist(request, type='Developers'):
def donate(request):
context = {
- 'donors': Donor.objects.order_by('name'),
+ 'donors': Donor.objects.filter(visible=True).order_by('name'),
}
return direct_to_template(request, 'public/donate.html', context)