feat: mioitem添加排序字段
This commit is contained in:
parent
962ca5b1be
commit
db22300fd0
|
@ -254,6 +254,7 @@ class MIOItemViewSet(CustomListModelMixin, BulkCreateModelMixin, BulkDestroyMode
|
||||||
"test_date": ["isnull", "exact"]
|
"test_date": ["isnull", "exact"]
|
||||||
}
|
}
|
||||||
ordering = ['create_time']
|
ordering = ['create_time']
|
||||||
|
ordering_fields = ['create_time', 'test_date']
|
||||||
|
|
||||||
def add_info_for_list(self, data):
|
def add_info_for_list(self, data):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue