# Load the operations from all those migrations and concat together
# Load the operations from all those migrations and concat together,
# along with collecting external dependencies and detecting
# double-squashing
operations=[]
dependencies=set()
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")