kolibri/utils/cli.py
def _migrate_databases():
    """
    Try to migrate all active databases. This should not be called unless Django has
    been initialized.
    """
    from django.conf import settings

    for database in settings.DATABASES:
        call_command("migrate", interactive=False, database=database)

    # load morango fixtures needed for certificate related operations
    call_command("loaddata", "scopedefinitions")

    Try to migrate all active databases. This should not be called unless Django has
    been initialized.
    
Try to migrate all active databases. This should not be called unless Django has
been initialized.
Try to migrate all active databases . This should not be called unless Django has been initialized .
def _migrate_databases():
    from django.conf import settings
    for database in settings.DATABASES:
        call_command("migrate", interactive=False, database=database)
    call_command("loaddata", "scopedefinitions")
def _migrate_databases ( ) : from django . conf import settings for database in settings . DATABASES : call_command ( "migrate" , interactive = False , database = database ) call_command ( "loaddata" , "scopedefinitions" )
Try to migrate all active databases.
Try to migrate all active databases .
"""
    Try to migrate all active databases. This should not be called unless Django has
    been initialized.
    """ # load morango fixtures needed for certificate related operations