perf: domain del nodes

pull/9133/head
feng 2022-11-29 19:37:11 +08:00
parent dd207016b2
commit cc5b37350c
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class DomainSerializer(BulkOrgResourceModelSerializer):
model = Domain
fields_mini = ['id', 'name']
fields_small = fields_mini + ['comment']
fields_m2m = ['nodes', 'assets']
fields_m2m = ['assets']
read_only_fields = ['asset_count', 'gateway_count', 'date_created']
fields = fields_small + fields_m2m + read_only_fields