def get_request_url_for_custom_drf_requests(request_url, full_path):
    """
    Function to dealing with custom (non standard DRF requests such as read, list, partial_update etc) requests.


    >>> request_url = '/root/'
    >>> full_path = 'root_my_function'
    >>>
    >>> get_request_url_for_custom_drf_requests(request_url, full_path)
    '/root/my_function/'

    :param str request_url: The current request url
    :param str full_path: The full path of the url
    :return:
    """
    root_url = full_path.split('_')[0]
    request_url += full_path.replace(root_url, '', 1)[1:] + '/'
    return request_url
