Update views.py

Add some comments