fix pep8/pyflakes violations and drop django_whatever as a requirement