django 1.5 compat.. uses class-based generic view
Merge pull request #1 from sbussetti/master

django 1.5 compat