Return Foreignkey Attribut Django Ruhe
username = serializers.SerializerMethodField("get_username")
def get_username(self, obj):
return obj.owner.username
Daramola Afeez