def csrf_view_exempt(view_func):
 warnings.warn('csrf_view_exempt is deprecated. Use csrf_exempt instead.', PendingDeprecationWarning)
 return csrf_exempt(view_func)

def csrf_view_exempt ( view_func ) : warnings . warn ( 'csrf_view_exempt is deprecated. Use csrf_exempt instead.' , PendingDeprecationWarning ) return csrf_exempt ( view_func )
marks a view function as being exempt from csrf view protection .