#NEWLINE# def xframe_deny( view_fn ) : #NEWLINE# #INDENT# @ wraps ( view_fn , assigned = available_attrs ( view_fn ) ) #NEWLINE# def _wrapped_view( request , * args , **kwargs ) : #NEWLINE# #INDENT# response = view_fn ( request , * args , ** kwargs ) #NEWLINE# response [ 'X-Frame-Options' ] = 'DENY' #NEWLINE# return response #NEWLINE# #UNINDENT# return view_fn