أنت تريد استخدام add_to_serializer بدلاً من ذلك.
add_to_serializer
على سبيل المثال: How to add user data to the post serializer?