Update views.py

Minor change