def main ( ) : parser = get_args_parser ( ) args = parser . parse_args ( ) config = Config . from_parse_args ( args ) migrate ( config )
python django makemigrations from model changes
Parse the command line and run : func : migrate .
def main():
    """Parse the command line and run :func:`migrate`."""
    parser = get_args_parser()
    args = parser.parse_args()
    config = Config.from_parse_args(args)
    migrate(config)