modify console/views.py