Update views.py
Merge pull request #2 from Ruxton92/patch-2

Update views.py