              else:
                  try:
                      migration = executor.loader.get_migration_by_prefix(app_label, migration_name)
                  except AmbiguityError:
                      raise CommandError("More than one migration matches '%s' in app '%s'. Please be more specific." % (app_label, migration_name))
                  except KeyError:
                      raise CommandError("Cannot find a migration matching '%s' from app '%s'." % (app_label, migration_name))
                  targets = [(app_label, migration.name)]
              target_app_labels_only = False
          elif options['app_label']:
 
</s> remove             raise CommandError("Cannot find a migration matching '%s' from app '%s'. Is it in INSTALLED_APPS?" % (app_label, migration_name))
 </s> add             raise CommandError("Cannot find a migration matching '%s' from app '%s'. Is it in INSTALLED_APPS?" % (
                migration_name, app_label)) </s> remove             raise CommandError("More than one migration matches '%s' in app '%s'. Please be more specific." % (app_label, migration_name))
 </s> add             raise CommandError("More than one migration matches '%s' in app '%s'. Please be more specific." % (
                migration_name, app_label)) </s> remove                     raise CommandError("Cannot find a migration matching '%s' from app '%s'." % (app_label, migration_name))
 </s> add                     raise CommandError("Cannot find a migration matching '%s' from app '%s'." % (
                        migration_name, app_label))
                    raise CommandError("More than one migration matches '%s' in app '%s'. Please be more specific." % (
                        migration_name, app_label))
              else:
                  try:
                      migration = executor.loader.get_migration_by_prefix(app_label, migration_name)
                  except AmbiguityError:
                    raise CommandError("More than one migration matches '%s' in app '%s'. Please be more specific." % (
                        migration_name, app_label))
                  except KeyError:
                      raise CommandError("Cannot find a migration matching '%s' from app '%s'." % (app_label, migration_name))
                  targets = [(app_label, migration.name)]
              target_app_labels_only = False
          elif options['app_label']:
keep keep keep keep replace keep keep keep keep keep
 Swapped placeholders in [sql]migrate command error 
django/core/management/commands/migrate.py