          # Validation failed...
          detail = {}
  
          if not bound_form.errors and not unknown_fields:
              detail = {u'errors': [u'No content was supplied.']}
  
          else:       
              # Add any non-field errors
              if bound_form.non_field_errors():
                  detail[u'errors'] = bound_form.non_field_errors()
 
</s> remove             if content and isinstance(content, models.Model):
 </s> add             if data and isinstance(data, models.Model): </s> remove             elif content is not None:
                return OnTheFlyModelForm(content)
 </s> add             elif data is not None:
                return OnTheFlyModelForm(data, files)
            # is_valid() was False, but errors was empty.
            # If we havn't already done so attempt revalidation with some fake data
            # to force django to give us an errors dict.
            if fake_data is None:
                return self._validate(data, files, allowed_extra_fields, '_fake_data')

            # If we've already set fake_dict and we're still here, fallback gracefully.
          # Validation failed...
          detail = {}
  
          if not bound_form.errors and not unknown_fields:
            # is_valid() was False, but errors was empty.
            # If we havn't already done so attempt revalidation with some fake data
            # to force django to give us an errors dict.
            if fake_data is None:
                return self._validate(data, files, allowed_extra_fields, '_fake_data')

            # If we've already set fake_dict and we're still here, fallback gracefully.
              detail = {u'errors': [u'No content was supplied.']}
  
          else:       
              # Add any non-field errors
              if bound_form.non_field_errors():
                  detail[u'errors'] = bound_form.non_field_errors()
keep keep keep add keep keep keep keep keep keep
 Fixing some of the last blocking issues 
djangorestframework/resources.py