<filename>migrate.py
from django.core.management import call_command
from boot_django import boot_django

# call the django setup routine
boot_django()
call_command("migrate")

<filename>migrate.py
from django.core.management import call_command
from boot_django import boot_django

# call the django setup routine
boot_django()
call_command("migrate")

# call the django setup routine