Update views.py

removed a commented function