def social_auth_login_redirect(request):
 redirect_value = request.REQUEST.get(REDIRECT_FIELD_NAME)
 if redirect_value:
  redirect_querystring = ((REDIRECT_FIELD_NAME + '=') + redirect_value)
 else:
  redirect_querystring = ''
 return {'REDIRECT_FIELD_NAME': REDIRECT_FIELD_NAME, 'REDIRECT_FIELD_VALUE': redirect_value, 'redirect_querystring': redirect_querystring}

def social_auth_login_redirect ( request ) : redirect_value = request . REQUEST . get ( REDIRECT_FIELD_NAME ) if redirect_value : redirect_querystring = ( ( REDIRECT_FIELD_NAME + '=' ) + redirect_value ) else : redirect_querystring = '' return { 'REDIRECT_FIELD_NAME' : REDIRECT_FIELD_NAME , 'REDIRECT_FIELD_VALUE' : redirect_value , 'redirect_querystring' : redirect_querystring }
load current redirect to context .