From eb97b0400b7323540896b98ac0eddbd7b4373241 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 18 Feb 2011 16:26:27 -0600 Subject: Add a PackageRelation admin Signed-off-by: Dan McGee --- packages/admin.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/admin.py (limited to 'packages') diff --git a/packages/admin.py b/packages/admin.py new file mode 100644 index 00000000..3ecfdbb1 --- /dev/null +++ b/packages/admin.py @@ -0,0 +1,11 @@ +from django.contrib import admin + +from .models import PackageRelation + +class PackageRelationAdmin(admin.ModelAdmin): + list_display = ('user', 'pkgbase', 'type') + list_filter = ('type', 'user') + +admin.site.register(PackageRelation, PackageRelationAdmin) + +# vim: set ts=4 sw=4 et: -- cgit v1.2.3-54-g00ecf