replace '%s' in string "Running pre-migrate handlers for application %s" with app_config.label, print it to the standard output.
print ( "Running pre-migrate handlers for application %s" % app_config . label )