mirror of https://github.com/jumpserver/jumpserver
perf: domain del nodes
parent
dd207016b2
commit
cc5b37350c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue