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