Update views.py

minor change