Added some documentation to views.py