Update views.py

To do: fix auto grading