def show_migration_changes(apps):
 for app in apps:
  print(app.app_label())
  migrations = [migration for migration in app]
  reduce(diff_migrations, migrations)

def show_migration_changes ( apps ) : for app in apps : print ( app . app_label ( ) ) migrations = [ migration for migration in app ] reduce ( diff_migrations , migrations )
prints a list of all available migrations .