Added documentation to views.py