fixed views.py