more teach.html and fixed pep8 in views