@classmethod
    def import_all(self, excludes=[]):
        for app in self.possible_existing_migrations():

            matches = [ ex for ex in excludes if ex in app ]
            if len(matches) > 0:
                continue

            try:
                m = __import__(app)
                try:
                    attrlist = m.__all__
                except AttributeError:
                    attrlist = dir(m)

                for attr in attrlist:
                    globals()[attr] = getattr(m, attr)

            except ImportError as e:
                pass
Parse a token.
dataset/ETHPy150Open pboehm/django-data-migration/data_migration/migration.py/Importer.import_all--crossover with--dataset/ETHPy150Open ojii/django-classy-tags/classytags/arguments.py/Flag.parse