Django Book 翻译
菜单>:
TOC
返回
原文:
As is the case with captured parameters (explained in the previous section), extra options will *always* be passed to *every* line in the included URLconf, regardless of whether the lines view actually accepts those options as valid. For this reason, this technique is useful only if youre certain that every view in the included URLconf accepts the extra options youre passing.
翻译:
这个例子和前面关于被捕获的参数一样(在上一节就解释过这一点),额外的选项将 *总是* 被传递到被包含的URLconf中的 *每一* 行,不管那一行对应的视图是否确实作为有效参数接收这些选项,因此,这个技术只有在你确实需要那个被传递的额外参数的时候才显得有用。
备注:
译者: