def _validate(self):
        if self.model is None:
            raise OEmbedException('Provider %s requires a model' % self.provider_class.__name__)
        if not self.named_view:
            raise OEmbedException(self.provider_class.__name__ % 'Provider %s requires a named_view')
dataset/ETHPy150Open worldcompany/djangoembed/oembed/providers.py/DjangoProviderOptions._validate/swapped operands of `%`