#NEWLINE# def object_detail( request , * args , **kwargs ) : #NEWLINE# #INDENT# warnings . warn ( deprecation_msg , DeprecationWarning , stacklevel = 2 ) #NEWLINE# return PostDetail . as_view ( ) ( request , * args , ** request )