Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

function of this cod in django in django performance = serializers.SerializerMethodField() # def get_performance(self, instance): # return PerformanceSerializer(instance.performance).data

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
 
PREVIOUS NEXT
Tagged: #function #django #django #performance #def #return
ADD COMMENT
Topic
Name
6+6 =