Update README.rst

Fixed example code for views.py