Replacemont of Django's ClassBasedView.