diff options
author | Dan McGee <dan@archlinux.org> | 2012-07-31 20:01:03 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-07-31 20:01:03 -0500 |
commit | 71859672267ccfc15e31398c5d86f5c0f69f0ed7 (patch) | |
tree | e168963581f85655f2cf2bd115076bb43af18e71 /packages/admin.py | |
parent | 686942b8788fa43031b3999ac00d60baadc82f53 (diff) |
Use a raw ID field for package Update package
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/admin.py')
-rw-r--r-- | packages/admin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/admin.py b/packages/admin.py index d43cecce..51c6fb06 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) |