'Check at least has one of each foreign key.'

def clean(self):

    if ((not self._addon) and (not self._extension)):
        raise ValidationError('One    of    _addon    or    _extension    required')
    if ((not self._version) and (not self._extension_version)):
        raise ValidationError('One    of    _version    or    _extension_version    required')
