<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def init(module, db):
 """ Initialize the models. """

    for model in farine.discovery.import_models(module):
        model._meta.database = db