예제 #1
0
파일: Context.py 프로젝트: MaxMorais/Trail
    def set_baseurl(self, baseurl=None, target=None):
        """Set the base URL and target for the current page.

        The base URL is taken relative to the existing base URL.

        """
        URIContext.set_baseurl(self, baseurl)
        if target:
            self._target = target
예제 #2
0
    def set_baseurl(self, baseurl=None, target=None):
        """Set the base URL and target for the current page.

        The base URL is taken relative to the existing base URL.

        """
        URIContext.set_baseurl(self, baseurl)
        if target:
            self._target = target