Modified Views.py