def METHOD_NAME(apps, schema_editor):
    # data migration is one way because the dlanguages model gets deleted
    dlanguage_model = apps.get_model("models", "DLanguage")
    language_model = apps.get_model("models", "Language")
    languages = language_model.objects.all()
    for lang in languages:
        dlanguage_model.objects.create(languageid=lang.code, languagename=lang.name.upper(), isdefault=lang.isdefault)