 Django Unchained is a 2012 American Western film written and directed by Quentin Tarantino , starring Jamie Foxx , Christoph Waltz , Leonardo DiCaprio , Kerry Washington , and Samuel L. Jackson . Set in the Old West and antebellum South , it is a highly stylized variation of Spaghetti Westerns , and a tribute to the 1966 Italian film Django by Sergio Corbucci , whose star Franco Nero has a cameo appearance . 
