          return reverted_data
  
      def clean_fields(self, data):
          """
          Run clean_<fieldname> validators on the serializer
          """
          fields = self.get_fields(serialize=False, data=data, nested=self.opts.nested)
  
          for field_name, field in fields.items():
              try:
 
</s> remove                 clean_method = getattr(self, 'clean_%s' % field_name, None)
 </s> add                 clean_method = getattr(self, 'validate_%s' % field_name, None) </s> remove             def clean_content(self, attrs, source):
 </s> add             def validate_content(self, attrs, source):
        Run validate_<fieldname> methods on the serializer
          return reverted_data
  
      def clean_fields(self, data):
          """
        Run validate_<fieldname> methods on the serializer
          """
          fields = self.get_fields(serialize=False, data=data, nested=self.opts.nested)
  
          for field_name, field in fields.items():
              try:
keep keep keep keep replace keep keep keep keep keep
 Switch from clean_<fieldname> to validate_<fieldname>, clarify documentation 
rest_framework/serializers.py