Update views.py

fix indentation errors