Django Book 翻译
菜单>:
TOC
返回
原文:
To specify the contents of ``
`` and ``
`` , create Django templates (see Chapter 4) called ``feeds/latest_title.html`` and ``feeds/latest_description.html`` , where ``latest`` is the ``slug`` specified in the URLconf for the given feed. Note that the ``.html`` extension is required.
翻译:
如果要指定 ``
`` 和 ``
`` ,可以建立一个Django模板(见Chapter 4)名字叫 ``feeds/latest_title.html`` 和 ``feeds/latest_description.html`` ,后者是URLConf里为对应feed指定的 ``slug`` 。注意 ``.html`` 后缀是必须的。
备注:
译者: