update views.py for python 3