replace all the '%s' occurrences with migration_name and app_label, respectively. target is a list containing tuple with two elements app_label and migration.name.
targets = [ ( app_label , migration . name ) ]