Changes made to views.py