fix: 解决访问api-docs失败的问题

pull/6528/head
Bai 2021-07-26 10:54:57 +08:00 committed by Jiangjie.Bai
parent 290d584ac9
commit 51387ad97e
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class AccountSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer):
'private_key': {'write_only': True},
'public_key': {'write_only': True},
}
ref_name = 'AssetAccountSerializer'
@classmethod
def setup_eager_loading(cls, queryset):