perf: 平台导出过滤掉automation (#10367)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-04-28 17:13:43 +08:00
committed by GitHub
parent a0151b8d44
commit f842546042

View File

@@ -122,6 +122,7 @@ class PlatformSerializer(WritableNestedModelSerializer):
fields_small = fields_mini + [
"category", "type", "charset",
]
fields_unexport = ['automation']
read_only_fields = [
'internal', 'date_created', 'date_updated',
'created_by', 'updated_by'