summaryrefslogtreecommitdiff
path: root/packages/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-22 16:42:06 -0500
committerDan McGee <dan@archlinux.org>2011-08-22 16:42:06 -0500
commitc5b370f432215eb69dabd6bcb911b6429b16447a (patch)
tree10adf19cd9a3f6bb3f92d850023e4ef77e94185a /packages/admin.py
parent60738969375fc72ff254517107ce53e14b068e24 (diff)
Admin setup tweaks
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/admin.py')
-rw-r--r--packages/admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/admin.py b/packages/admin.py
index 3ecfdbb1..01b6ed6c 100644
--- a/packages/admin.py
+++ b/packages/admin.py
@@ -3,8 +3,9 @@ from django.contrib import admin
from .models import PackageRelation
class PackageRelationAdmin(admin.ModelAdmin):
- list_display = ('user', 'pkgbase', 'type')
+ list_display = ('user', 'pkgbase', 'type', 'created')
list_filter = ('type', 'user')
+ search_fields = ('user__username', 'pkgbase')
admin.site.register(PackageRelation, PackageRelationAdmin)