Open jgkim opened 10 years ago
The variable unbound_func in the lambda function of attach_to_data_model method of DataModelSerializers class takes the value from the surrounding scope. This makes every overwritten serializer bound to the last value of unbound_func.
unbound_func
attach_to_data_model
DataModelSerializers
The variable
unbound_func
in the lambda function ofattach_to_data_model
method ofDataModelSerializers
class takes the value from the surrounding scope. This makes every overwritten serializer bound to the last value ofunbound_func
.