# Load the operations from all those migrations and concat together
operations=[]
forsmigrationinmigrations_to_squash:
ifsmigration.replaces:
raiseCommandError("You cannot squash squashed migrations! Please transition it to a normal migration first: https://docs.djangoproject.com/en/1.7/topics/migrations/#squashing-migrations")