Update views.py

Updated documentation