fix the syntax error in views.py line 49