0.0.35 blocks admin
This commit is contained in:
@@ -147,8 +147,8 @@ class Admin_Block(Admin_Trans_BaseModelViewPage):
|
|||||||
|
|
||||||
inlines = [Admin_Inline_WidgetForBlock]
|
inlines = [Admin_Inline_WidgetForBlock]
|
||||||
|
|
||||||
list_display = ['name', 'block_type', 'enable', 'content_type', 'object_id']
|
list_display = ['name', 'block_type', 'enable', 'content_type', 'object_id', 'order']
|
||||||
list_editable = ['enable']
|
list_editable = ['enable', 'order']
|
||||||
search_fields = ['name']
|
search_fields = ['name']
|
||||||
list_filter = ['block_type', 'enable', 'content_type']
|
list_filter = ['block_type', 'enable', 'content_type']
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user