📅  最后修改于: 2022-03-11 14:46:12.206000             🧑  作者: Mango
please anyone can explain this code in django what is the function of this code
performance = serializers.SerializerMethodField()
def get_performance(self, instance):
return PerformanceSerializer(instance.performance).data