remove unnecessary commented code from views.py