summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-01 03:01:03 +0200
committerDan McGee <dan@archlinux.org>2012-08-01 03:01:03 +0200
commit71859672267ccfc15e31398c5d86f5c0f69f0ed7 (patch)
treee168963581f85655f2cf2bd115076bb43af18e71
parent686942b8788fa43031b3999ac00d60baadc82f53 (diff)
downloadarchweb-71859672267ccfc15e31398c5d86f5c0f69f0ed7.tar.gz
archweb-71859672267ccfc15e31398c5d86f5c0f69f0ed7.tar.xz
Use a raw ID field for package Update package
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--packages/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/admin.py b/packages/admin.py
index d43cecc..51c6fb0 100644
--- a/packages/admin.py
+++ b/packages/admin.py
@@ -44,6 +44,7 @@ class UpdateAdmin(admin.ModelAdmin):
search_fields = ('pkgname',)
ordering = ('-created',)
date_hierarchy = 'created'
+ raw_id_fields = ('package',)
admin.site.register(PackageRelation, PackageRelationAdmin)