Made django app conform to pep8