Fix for Django version of six