Update views.py

Fixed import error