Views.py working for 0.5.0-dev (git clone at around August 26 2013)

Commit only for early version of 0.5.0-dev from git. This is supposed to go into the 0.5.0-dev branch of this plugin, but am using the web interface so if it ends up in master, I'll have to commit the 0.6.0-dev fix again :)