Revert "Update views.py"

This reverts commit 7e0550a70a8b28ce85fbe8603d5c7fbd8916b67e.
Revert "Update views.py"

This reverts commit 8a5b1bd8f6477ae86ba8f550a7f49f65ff504eca.