summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-01-26 21:40:04 +0100
committerDan McGee <dan@archlinux.org>2012-01-26 21:40:04 +0100
commitbb570809f18c01a1172e970738bac6ac7b6171f1 (patch)
tree71d973691ad6dd31e9482c1f0f5168c17bef196b
parent32633d45583000949ba3e14ae1c27d82ee24404d (diff)
downloadarchweb-bb570809f18c01a1172e970738bac6ac7b6171f1.tar.gz
archweb-bb570809f18c01a1172e970738bac6ac7b6171f1.tar.xz
Add repo to flag request admin columns
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--packages/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/admin.py b/packages/admin.py
index 4c17024..0589209 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'