Django Book 翻译
菜单>:
TOC
返回
原文:
Temporarily comment out all four of those strings by putting a hash character (``#`` ) in front of them. (Theyre included by default as a common-case convenience, but well activate and discuss them later.) While youre at it, modify the default ``MIDDLEWARE_CLASSES`` and ``TEMPLATE_CONTEXT_PROCESSORS`` settings. These depend on some of the apps we just commented out. Then, add ``'mysite.books'`` to the ``INSTALLED_APPS`` list, so the setting ends up looking like this:
翻译:
把这四个设置前面加#临时注释起来。(它们是一些缺省的公用设置,现在先不管 它们,以后再来讨论)同样的,修改缺省的 ``MIDDLEWARE_CLASSES`` 和 ``TEMPLATE_CONTEXT_PROCESSORS`` 设置,都注释起来。 然后添加 ``'mysite.books'`` 到 ``INSTALLED_APPS`` 列表,现在看起来是这样:
备注:
译者: