Skip to content

Commit bfda77b

Browse files
committed
Show Host Type in Host Admin page
1 parent f7cd499 commit bfda77b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

portal/admin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ class HostAdmin(admin.ModelAdmin):
2828
'site',
2929
'__unicode__',
3030
'owner',
31+
'type',
3132
'os',
3233
'get_ips'
3334
)
3435
list_display_links = '__unicode__',
35-
list_filter = ('owner', 'site', 'os')
36+
list_filter = ('owner', 'site', 'type', 'os')
3637
search_fields = ('name', 'ipaddresses__ip', 'owner__username')
3738
save_as = True
3839
save_on_top = True

0 commit comments

Comments
 (0)