Update views.py

Deleted test code