Replaced tabs with spaces in views.py