Update views.py

removed not used import and old index