summaryrefslogtreecommitdiff
path: root/devel/admin.py
blob: 84082fb8aff52c71ba771bcbd62ce645aab89721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from django.contrib import admin

from .models import MasterKey


class MasterKeyAdmin(admin.ModelAdmin):
    list_display = ('pgp_key', 'owner', 'created', 'revoker', 'revoked')
    search_fields = ('pgp_key', 'owner', 'revoker')

admin.site.register(MasterKey, MasterKeyAdmin)

# vim: set ts=4 sw=4 et: