refactor: to class based generic views to be compliant and ready for django 1.5