Fix syntax error in accounts/views.py