Update views.py

change the url and function name
add comments