'Fields that have been declared on a parent of the serializer class may
be excluded from the `Meta.fields` option.'

def test_missing_superclass_field(self):

    class TestSerializer(serializers.ModelSerializer, ):
        missing = serializers.ReadOnlyField()
        class Meta:
            model = RegularFieldsModel
            fields = u'__all__'
    class ChildSerializer(TestSerializer, ):
        missing = serializers.ReadOnlyField()
        class Meta:
            model = RegularFieldsModel
            fields = (u'auto_field',)
    ChildSerializer().fields
