Modified the views.py