      def test_missing_bool_with_default(self):
          """Make sure that a boolean value with a 'False' value is not
          mistaken for not having a default."""
          data = {
              'title':'Some action item',
              #No 'done' value.
          }
          serializer = ActionItemSerializer(data, instance=self.actionitem)
          self.assertEquals(serializer.is_valid(), True)
          self.assertEquals(serializer.errors, {})
 
</s> remove             rel =  serializers.ManyRelatedField(readonly=True)
 </s> add             rel = serializers.ManyRelatedField(readonly=True)
 </s> remove             kwargs['default'] = model_field.default
 </s> add             kwargs['default'] = model_field.get_default()
            'title': 'Some action item',
      def test_missing_bool_with_default(self):
          """Make sure that a boolean value with a 'False' value is not
          mistaken for not having a default."""
          data = {
            'title': 'Some action item',
              #No 'done' value.
          }
          serializer = ActionItemSerializer(data, instance=self.actionitem)
          self.assertEquals(serializer.is_valid(), True)
          self.assertEquals(serializer.errors, {})
keep keep keep keep replace keep keep keep keep keep
 Fix failing 'default' on ModelSerializer 
rest_framework/tests/serializer.py