diff --git a/binder/admin.py b/binder/admin.py index 699bf72..6fc90d6 100644 --- a/binder/admin.py +++ b/binder/admin.py @@ -1,11 +1,11 @@ from models import BindServer, Key from django.contrib import admin -class ZoneAdmin(admin.ModelAdmin): - list_display = [ 'zone_name', 'server', 'key' ] +class BindServerAdmin(admin.ModelAdmin): + list_display = [ 'hostname', 'statistics_port', 'default_transfer_key' ] class KeyAdmin(admin.ModelAdmin): - list_display = [ 'name', 'data' ] + list_display = [ 'name', 'data', 'algorithm' ] -admin.site.register(BindServer) +admin.site.register(BindServer, BindServerAdmin) admin.site.register(Key, KeyAdmin)