0.3.9 blocks admin ordering
This commit is contained in:
@@ -187,6 +187,7 @@ class Admin_Block(Admin_Trans_BaseModelViewPage):
|
||||
list_editable = ['enable', 'order']
|
||||
search_fields = ['name']
|
||||
list_filter = ['enable', 'content_type', 'block_type']
|
||||
ordering = ['content_type', 'object_id', 'order']
|
||||
|
||||
def has_delete_permission(self, request, obj=None):
|
||||
if request.user.is_superuser:
|
||||
|
||||
Reference in New Issue
Block a user