Added utilities for django class-based views