def migrations_module(self):
        "Returns the module name of the migrations module for this"
        app_label = application_to_app_label(self.application)
        if hasattr(settings, "SOUTH_MIGRATION_MODULES"):
            if app_label in settings.SOUTH_MIGRATION_MODULES:
                # There's an override.
                return settings.SOUTH_MIGRATION_MODULES[app_label]
        # We see if the south_migrations module exists first, and
        # use that if we find it.
        module_name = self._application.__name__ + '.south_migrations'
        try:
            importlib.import_module(module_name)
        except __HOLE__:
            return self._application.__name__ + '.migrations'
        else:
            return module_name
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/South-1.0.2/south/migration/base.py/Migrations.migrations_module