1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Added stats to tenant view

This commit is contained in:
Jeremy Stretch
2016-07-27 11:56:47 -04:00
parent 2abee211a2
commit e4960873f3
3 changed files with 45 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ class TenantAdmin(admin.ModelAdmin):
prepopulated_fields = {
'slug': ['name'],
}
list_display = ['name', 'slug', 'group']
list_display = ['name', 'slug', 'group', 'description']
def get_queryset(self, request):
qs = super(TenantAdmin, self).get_queryset(request)