update django hack for new version of six