Django Book 翻译
菜单>:
TOC
返回
原文:
For example, say LJWorld.coms settings file has a ``SITE_ID`` set to ``1`` , and Lawrence.coms settings file has a ``SITE_ID`` set to ``2`` . If this view is called when LJWorld.coms settings file is active, then it will limit the article lookup to articles in which the list of sites includes LJWorld.com.
翻译:
例如, LJWorld.coms 设置文件中有有个 ``SITE_ID`` 设置为 ``1`` ,而 Lawrence.coms 设置文件中有个 ``SITE_ID`` 设置为 ``2`` 。如果该视图在 LJWorld.coms 处于激活状态时被调用,那么它将把查找范围局限于站点列表包括 LJWorld.com 在内的文章。
备注:
译者: