Django Book 翻译
菜单>:
TOC
返回
原文:
* The second line calls the function ``patterns()`` and saves the result into a variable called ``urlpatterns`` . The ``patterns()`` function gets passed only a single argumentthe empty string. The rest of the lines are commented out. (The string can be used to supply a common prefix for view functions, but well skip this advanced usage for now.)
翻译:
* 第二行调用 ``patterns()`` 函数并将返回结果保存到 ``urlpatterns`` 变量。 ``patterns()`` 函数只传入了一个空字符串参数。其他代码行都被注释掉了。 (该字符串可用作视图函数的通用前缀,但目前我们将略过这种高级用法。)
备注:
译者: