0.0.35 blocks admin

This commit is contained in:
SDE
2023-12-06 14:57:10 +03:00
parent ee1a94b0ef
commit f1339a01e6

View File

@@ -147,8 +147,8 @@ class Admin_Block(Admin_Trans_BaseModelViewPage):
inlines = [Admin_Inline_WidgetForBlock]
list_display = ['name', 'block_type', 'enable', 'content_type', 'object_id']
list_editable = ['enable']
list_display = ['name', 'block_type', 'enable', 'content_type', 'object_id', 'order']
list_editable = ['enable', 'order']
search_fields = ['name']
list_filter = ['block_type', 'enable', 'content_type']