Django Book 翻译
菜单>:
TOC
返回
原文:
A tuple is slightly more semantically correct than a list (tuples cannot be changed after being created, and nothing should be changing settings once theyve been read), so we recommend using a tuple for your ``TEMPLATE_DIRS`` setting.
翻译:
从语义上看,元组比列表略显合适(元组在创建之后就不能修改,而配置被读取以后就不应该有任何修改)。因此,我们推荐对 ``TEMPLATE_DIRS`` 设置使用元组。
备注:
译者: