summaryrefslogtreecommitdiff
path: root/packages/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-01-26 14:40:04 -0600
committerDan McGee <dan@archlinux.org>2012-01-26 14:40:04 -0600
commitbb570809f18c01a1172e970738bac6ac7b6171f1 (patch)
tree71d973691ad6dd31e9482c1f0f5168c17bef196b /packages/admin.py
parent32633d45583000949ba3e14ae1c27d82ee24404d (diff)
Add repo to flag request admin columns
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/admin.py')
-rw-r--r--packages/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/admin.py b/packages/admin.py
index 4c170247..0589209f 100644
--- a/packages/admin.py
+++ b/packages/admin.py
@@ -10,9 +10,9 @@ class PackageRelationAdmin(admin.ModelAdmin):
date_hierarchy = 'created'
class FlagRequestAdmin(admin.ModelAdmin):
- list_display = ('pkgbase', 'version', 'created', 'who', 'is_spam',
+ list_display = ('pkgbase', 'version', 'repo', 'created', 'who', 'is_spam',
'is_legitimate', 'message')
- list_filter = ('is_spam', 'is_legitimate')
+ list_filter = ('is_spam', 'is_legitimate', 'repo')
search_fields = ('pkgbase', 'user_email', 'message')
ordering = ('-created',)
date_hierarchy = 'created'