Added correct views.py from bitbucket. Now it works.