Bump Django to 1.7.1, fix pep8