Django Book 翻译
菜单>:
TOC
返回
原文:
Technically, these variables are only made available in the template context if you use ``RequestContext`` *and* your ``TEMPLATE_CONTEXT_PROCESSORS`` setting contains ``"django.core.context_processors.auth"`` , which is the default. Again, see Chapter 10 for more information.
翻译:
从技术上来说,只有当你使用了 ``RequestContext`` *并且* ``TEMPLATE_CONTEXT_PROCESSORS`` 设置包含了 ``"django.core.context_processors.auth"`` (默认情况就是如此)时,这些变量才能在模板context中使用。更详细的内容,也请参考第10章。
备注:
译者: