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

pull/6624/head
Bai 2021-07-26 10:54:57 +08:00 committed by Jiangjie.Bai
parent a69ab682a0
commit 628b14133d
1 changed files with 1 additions and 0 deletions

View File

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