string: "\nYou have unapplied migrations; your app may not work properly until they are applied.", write it to self.stdout. call the method self.style.NOTICE with an argument string "Run 'python manage.py migrate' to apply them.\n",
self . stdout . write ( self . style . NOTICE ( "Run 'python manage.py migrate' to apply them.\n" ) )