Update views.py

Added comments to views