                  (field_name, field.get_value(self.initial_data))
                  for field_name, field in self.fields.items()
                  if (field.get_value(self.initial_data) is not empty) and
                  not field.read_only
              ])
  
          return OrderedDict([
              (field.field_name, field.get_initial())
              for field in self.fields.values()
              if not field.read_only
 
</s> remove             return OrderedDict([
                (field_name, field.get_value(self.initial_data))
 </s> add             return {
                field_name: field.get_value(self.initial_data) </s> remove                 return OrderedDict()
 </s> add                 return {} </s> remove         defaults = OrderedDict()
 </s> add         defaults = {} </s> remove         return OrderedDict([
            (field_name, self.get_field_info(field))
 </s> add         return {
            field_name: self.get_field_info(field) </s> remove     fields = OrderedDict()
 </s> add     fields = {}
            }
                  (field_name, field.get_value(self.initial_data))
                  for field_name, field in self.fields.items()
                  if (field.get_value(self.initial_data) is not empty) and
                  not field.read_only
            }
  
          return OrderedDict([
              (field.field_name, field.get_initial())
              for field in self.fields.values()
              if not field.read_only
keep keep keep keep replace keep keep keep keep keep
 Replaced `OrderedDict` with `dict` (#8964) 
rest_framework/serializers.py