add support for pyp3 and official django 1.7