Django Book 翻译
菜单>:
TOC
返回
原文:
``ping_google()`` takes an optional argument, ``sitemap_url`` , which should be the absolute URL of your sites sitemap (e.g., ``'/sitemap.xml'`` ). If this argument isnt provided, ``ping_google()`` will attempt to figure out your sitemap by performing a reverse lookup on your URLconf.
翻译:
``ping_google()`` 有一个可选的参数 ``sitemap_url`` ,它应该是你的站点地图的URL绝对地址(例如: ``/sitemap.xml`` )。如果不提供该参数, ``ping_google()`` 将尝试通过反查你的URLconf来找到你的站点地图。
备注:
译者: