Revert "Update views.py"

This reverts commit f2f0dc673bb8d81b97c3ee1441938454bab56edf.