raise CommandError exception with "App '%s' does not have migrations (you cannot selectively sync unmigrated apps)",
raise CommandError ( "App '%s' does not have migrations (you cannot selectively sync unmigrated apps)" % app_label )