Update views.py

Respect Python coding style on explicit function arguments.