(self, routename, **kargs)
return urljoin(urljoin('/', scriptname), location)
Return a string that matches a named route
Return a string that matches a named route
Return a string that matches a named route
def get_url(self, routename, **kargs):
        """ Return a string that matches a named route """
        scriptname = request.environ.get('SCRIPT_NAME', '').strip('/') + '/'
        location = self.router.build(routename, **kargs).lstrip('/')
        return urljoin(urljoin('/', scriptname), location)
def get_url ( self , routename , * * kargs ) : scriptname = request . environ . get ( 'SCRIPT_NAME' , '' ) . strip ( '/' ) + '/' location = self . router . build ( routename , * * kargs ) . lstrip ( '/' ) return urljoin ( urljoin ( '/' , scriptname ) , location )