Problem:ACCOUNTS_REST_ACCOUNT_SERIALIZERS is used for both UserListResource and UserAccountResource. Because of that it is not possible to override the serializers as the one provided would be used for both accounts search which returns a list of result, and single account requests.
Problem:
ACCOUNTS_REST_ACCOUNT_SERIALIZERS
is used for bothUserListResource
andUserAccountResource
. Because of that it is not possible to override the serializers as the one provided would be used for both accounts search which returns a list of result, and single account requests.