1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 05:25:29 +03:00

Audit trail model has changed so disable the admin for now.

This commit is contained in:
Michael DeHaan 2013-03-24 15:05:34 -04:00
parent 18eaec143c
commit 2eaa661ce6

View File

@ -43,10 +43,11 @@ class TagAdmin(admin.ModelAdmin):
list_display = ('name', )
class AuditTrailAdmin(admin.ModelAdmin):
list_display = ('name', 'description', 'active')
filter_horizontal = ('tags',)
#class AuditTrailAdmin(admin.ModelAdmin):
#
# list_display = ('name', 'description', 'active')
# not currently on model, so disabling for now.
# filter_horizontal = ('tags',)
class HostAdmin(admin.ModelAdmin):
@ -102,7 +103,7 @@ class LaunchJobStatusAdmin(admin.ModelAdmin):
admin.site.register(Organization, OrganizationAdmin)
admin.site.register(Inventory, InventoryAdmin)
admin.site.register(Tag, TagAdmin)
admin.site.register(AuditTrail, AuditTrailAdmin)
#admin.site.register(AuditTrail, AuditTrailAdmin)
admin.site.register(Host, HostAdmin)
admin.site.register(Group, GroupAdmin)
admin.site.register(VariableData, VariableDataAdmin)