parameters: (sender, **kwargs)
return_statement: return (drf_request_user, 0)
docstring: Provider a signal handler to return the current user from the current
      request when using Django REST Framework. Requires that the APIView set
      drf_request on the underlying Django Request object.
docstring_summary: Provider a signal handler to return the current user from the current
      request when using Django REST Framework. Requires that the APIView set
      drf_request on the underlying Django Request object.
docstring_tokens: Provider a signal handler to return the current user from the current request when using Django REST Framework . Requires that the APIView set drf_request on the underlying Django Request object .
function: def get_current_user_from_drf_request(sender, **kwargs):
      """
      Provider a signal handler to return the current user from the current
      request when using Django REST Framework. Requires that the APIView set
      drf_request on the underlying Django Request object.
      """
      request = get_current_request()
      drf_request_user = getattr(request, 'drf_request_user', False)
      return (drf_request_user, 0)
function_tokens: def get_current_user_from_drf_request ( sender , * * kwargs ) : request = get_current_request ( ) drf_request_user = getattr ( request , 'drf_request_user' , False ) return ( drf_request_user , 0 )