def register_module(self, model, **options):
        if not hasattr(model, '_bmfmeta'):
            raise ImproperlyConfigured(
                'The module %s needs to be an BMF-Model in order to be'
                'registered with django BMF.' % model.__name__
            )
        if model in self.modules:
            raise AlreadyRegistered(model.__name__ % 'The module %s is already registered')
        self.modules[model] = Module(model, **options)
dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/core/site.py/Site.register_module/swapped operands of `%`