code: def urljoin (parent, url):
      
      if urlutil.url_is_absolute(url):
          return url
      return urlparse.urljoin(parent, url)
docs: If url is relative, join parent and url. Else leave url as-is.
  
      @return joined url