Update views.py

Changes for edit review