def rename_parameters(apps, schema_editor):
    Parameter = apps.get_model("lib", "Parameter")
    UserParameter = apps.get_model("lib", "UserParameter")
    for app in APPLICATIONS:
        rename_app_parameters(app, Parameter)
        rename_app_parameters(app, UserParameter)
Rename old parameters.
dataset/ETHPy150Open tonioo/modoboa/modoboa/lib/migrations/0002_rename_parameters.py/rename_parameters