Source code for goat.admin

from django.contrib import admin
from guardian.admin import GuardedModelAdmin

from goat.models import *


[docs]class IdentitySystemAdmin(GuardedModelAdmin): pass
[docs]class IdentityAdmin(GuardedModelAdmin): pass
[docs]class ConceptAdmin(GuardedModelAdmin): pass
[docs]class AuthorityAdmin(GuardedModelAdmin): pass
admin.site.register(IdentitySystem, IdentitySystemAdmin) admin.site.register(Identity, IdentityAdmin) admin.site.register(Concept, ConceptAdmin) admin.site.register(Authority, AuthorityAdmin)