Fixed indentation bug in views.py file