change view.py for index-page