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

Co-authored-by: feng <1304903146@qq.com>
pull/10379/head
fit2bot 2023-04-28 17:13:43 +08:00 committed by GitHub
parent a0151b8d44
commit f842546042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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'