Flake8 clean up on directory views.
A little flake8 clean up on browse views.
Flake8 clean up on home views.
Flake8 clean up on image views.