summaryrefslogtreecommitdiff
path: root/main/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-01 13:05:19 -0500
committerDan McGee <dan@archlinux.org>2010-10-01 13:05:22 -0500
commit77f65bdc0c9f5524ca68be511af4280f08fbcc13 (patch)
tree637c2afb48a0ecfc9707489919b8879ba2ac31a1 /main/admin.py
parented6fbafb35ec9799ad182c45985355a2e0d67d50 (diff)
Allow donors to be invisiblerelease_2010-10-01
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/admin.py')
-rw-r--r--main/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/admin.py b/main/admin.py
index 5dffb431..51859ad3 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -4,6 +4,8 @@ from django.contrib.auth.admin import UserAdmin
from main.models import Arch, Donor, Package, Repo, UserProfile
class DonorAdmin(admin.ModelAdmin):
+ list_display = ('name', 'visible')
+ list_filter = ('visible',)
search_fields = ('name',)
class ArchAdmin(admin.ModelAdmin):