The role in Django Unchained was considered for various stars , including Michael K. Williams and Will Smith .
Before the casting of the film began in the summer of 2011 , Jamie Foxx was the only consideration for the role of the title character .
Django Unchained