call the method style.NOTICE with an argument string "Note that only Django core commands are listed as settings are not properly configured (error: %s).", where '%s' is replaced by self.settings_exception, append the result to usage.
usage . append ( style . NOTICE ( "Note that only Django core commands are listed " "as settings are not properly configured (error: %s)." % self . settings_exception ) )