Update views.py

replacing variable names