fixed indents in view.py