substitute them for app_label and migration_name, respectively. executor is an instance of MigrationExecutor, created with value under the DEFAULT_DB_ALIAS key of the connections dictionary.
executor = MigrationExecutor ( connections [ DEFAULT_DB_ALIAS ] )