Django Book 翻译
菜单>:
TOC
返回
原文:
* Keep in mind that any context processor in ``TEMPLATE_CONTEXT_PROCESSORS`` will be available in *every* template powered by that settings file, so try to pick variable names that are unlikely to conflict with variable names your templates might be using independently. As variable names are case-sensitive, its not a bad idea to use all caps for variables a processor provides.
翻译:
* 要注意 ``TEMPLATE_CONTEXT_PROCESSORS`` 里的context processor 将会在 *每个* 模板中有效,所以要变量的命名不要和模板的变量冲突。 变量名是大小写敏感的,所以processor的变量全用大写是个不错的主意。
备注:
译者: