added views.py from last commit