updates views.py with comments prior to walking through caching and db queries with Bryan