Fixed syntax in views.py