mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 08:25:04 +00:00
perf: 平台导出过滤掉automation (#10367)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -122,6 +122,7 @@ class PlatformSerializer(WritableNestedModelSerializer):
|
|||||||
fields_small = fields_mini + [
|
fields_small = fields_mini + [
|
||||||
"category", "type", "charset",
|
"category", "type", "charset",
|
||||||
]
|
]
|
||||||
|
fields_unexport = ['automation']
|
||||||
read_only_fields = [
|
read_only_fields = [
|
||||||
'internal', 'date_created', 'date_updated',
|
'internal', 'date_created', 'date_updated',
|
||||||
'created_by', 'updated_by'
|
'created_by', 'updated_by'
|
||||||
|
Reference in New Issue
Block a user