Update views.py

Delete unused method.