Added some comments/explainations to views.py