def _absolute_url(is_secure, url_path):
 site_name = configuration_helpers.get_value('SITE_NAME', settings.SITE_NAME)
 parts = (('https' if is_secure else 'http'), site_name, url_path, '', '', '')
 return urlparse.urlunparse(parts)

def _absolute_url ( is_secure , url_path ) : site_name = configuration_helpers . get_value ( 'SITE_NAME' , settings . SITE_NAME ) parts = ( ( 'https' if is_secure else 'http' ) , site_name , url_path , '' , '' , '' ) return urlparse . urlunparse ( parts )
construct an absolute url back to the site .