def discover(self):
        if self.discovered: 
            return

        for app in get_apps():
            # Try to import populate module in this app
            app_name = app.__name__.split(".")[:-1]
            module_name = ".".join(app_name + [POPULATE_MODULE_NAME])
    
            try:
                # Simply importing the module will register the models
                populate_module = __import__(module_name, '', '', [''])
                logging.debug("Registering populate module: %s" % module_name)
            except ImportError:
                pass

        self.discovered = True
dataset/ETHPy150Open willhardy/Roll-Your-Own/rollyourown/populate/registration.py/PopulateCache.discover/original