Update view.py

partial syntax fixes