summaryrefslogtreecommitdiffstats
path: root/packages/admin.py
blob: 3ecfdbb10fabfecd40b6dffb0cf50bb2a792e9eb (plain)
1
2
3
4
5
6
7
8
9
10
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: