views.py modifed