Revert "Update views.py"

This reverts commit 300b003998a42fa5d8b9182b88349c301e73a20b.