Coding style improvements inside views.py

Whitespace related changes.