'Require `pullquote_text` if `pullquote_rating` or
`pullquote_attribution` are set.'

def validate(self, attrs):

    if ((not attrs.get('pullquote_text')) and (attrs.get('pullquote_rating') or attrs.get('pullquote_attribution'))):
        raise ValidationError('Pullquote    text    required    if    rating    or    attribution    is    defined.')
    return attrs
