refactoring the coltrane blog to use class based generic views