コード例 #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