udpate views.py. py3 syntax fix.