Fixed code in README

Fixed example code for views.py