Edited views.py