mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Update admin code to recent model field renames
This commit is contained in:
parent
de306b97ef
commit
175f3c23da
@ -48,7 +48,7 @@ class TagAdmin(admin.ModelAdmin):
|
||||
# list_display = ('name', 'description', 'active')
|
||||
# not currently on model, so disabling for now.
|
||||
# filter_horizontal = ('tags',)
|
||||
|
||||
|
||||
class HostAdmin(admin.ModelAdmin):
|
||||
|
||||
fields = ('name', 'inventory', 'description', 'active', 'tags',
|
||||
@ -76,7 +76,7 @@ class CredentialAdmin(admin.ModelAdmin):
|
||||
class TeamAdmin(admin.ModelAdmin):
|
||||
|
||||
list_display = ('name', 'description', 'active')
|
||||
filter_horizontal = ('projects', 'users', 'organization', 'tags')
|
||||
filter_horizontal = ('projects', 'users', 'organizations', 'tags')
|
||||
|
||||
class ProjectAdmin(admin.ModelAdmin):
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user