def error_next_redirect(request, default='/', additional_params=None, next_key=None, redirect_url=None, canvas=False):
 if (not next_key):
  next_key = ['error_next', 'next']
 redirect = next_redirect(request, default, additional_params, next_key, redirect_url, canvas)
 return redirect

def error_next_redirect ( request , default = '/' , additional_params = None , next_key = None , redirect_url = None , canvas = False ) : if ( not next_key ) : next_key = [ 'error_next' , 'next' ] redirect = next_redirect ( request , default , additional_params , next_key , redirect_url , canvas ) return redirect
short cut for an error next redirect .