From 583eafc9bf258307e6e32a90e879fea162b8ed2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Martin=20Sl=C3=A5en?= Date: Tue, 29 Mar 2011 09:11:34 +0200 Subject: [PATCH] fixed missing hostname in add-host --- mdb/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdb/admin.py b/mdb/admin.py index ce117f1..4948c68 100644 --- a/mdb/admin.py +++ b/mdb/admin.py @@ -15,7 +15,7 @@ class HostAdmin(admin.ModelAdmin): 'fields' : ( 'owner', 'location', 'description' ) }), ('Hardware Information', { - 'fields' : ( ('brand', 'model'), 'serial_number', 'host_type' ) + 'fields' : ( ('brand', 'model'), 'serial_number', ('hostname', 'host_type' ) ) }), ('Kerberos Information', { 'description' : 'If this host is a member of the LDAP domain, you need to tick the request kerberos principal checkbox. A principal will then be created for the host.',