def _set_managed_apps(self, included_apps, excluded_apps):
        """ while sync_schemas works by setting which apps are managed, on south we set which apps should be ignored """
        ignored_apps = []
        if excluded_apps:
            for item in excluded_apps:
                if item not in included_apps:
                    ignored_apps.append(item)

        for app in ignored_apps:
            app_label = app.split('.')[-1]
            settings.SOUTH_MIGRATION_MODULES[app_label] = 'ignore'

        self._clear_south_cache()
dataset/ETHPy150Open bernardopires/django-tenant-schemas/tenant_schemas/management/commands/legacy/migrate_schemas.py/Command._set_managed_apps/original