Update views.py

Delete unused method.
Merge pull request #35 from gotcha/patch-1

Update views.py