Fixed support for Django master branch.