Align the workflow admin display lists with the current model fields.
- Legacy-Id: 3560
This commit is contained in:
parent
941d22e3d5
commit
bfdb6b2f86
|
@ -14,12 +14,12 @@ class IETFWorkflowAdmin(admin.ModelAdmin):
|
|||
admin.site.register(WGWorkflow, IETFWorkflowAdmin)
|
||||
|
||||
class StreamedIdAdmin(admin.ModelAdmin):
|
||||
list_display = [ 'id', 'draft', 'stream', 'content_type', 'content_id', 'group', ]
|
||||
list_display = [ 'id', 'draft', 'stream', ]
|
||||
search_fields = [ 'draft__filename', ]
|
||||
raw_id_fields = [ 'draft', ]
|
||||
pass
|
||||
admin.site.register(StreamedID, StreamedIdAdmin)
|
||||
|
||||
class StreamAdmin(admin.ModelAdmin):
|
||||
list_display = ['name', 'with_groups', 'group_model', 'group_chair_model', 'workflow_link', ]
|
||||
list_display = ['name', 'document_group_attribute', 'group_chair_attribute', 'workflow_link', ]
|
||||
admin.site.register(Stream, StreamAdmin)
|
||||
|
|
Loading…
Reference in a new issue