updating the documentation to take advantage of

method_decorator and using decorators with the dispatch
function of Class-Based views.