Update views.py

Hotfix