completely broken views.py file