def init(module, db):
    """
    Initialize the models.
    """
    for model in farine.discovery.import_models(module):
        model._meta.database = db
def init ( module , db ) : for model in farine . discovery . import_models ( module ) : model . _meta . database = db
Initialize the models.