raise an CommandError with an argument string "App '%s' does not have migrations (so squashmigrations on it makes no sense)",
raise CommandError ( "App '%s' does not have migrations (so squashmigrations on it makes no sense)" % app_label )