Update views.py

Task #141