Django Book 翻译
菜单>:
TOC
返回
原文:
Heres how it works. When you load the template ``current_datetime.html`` , the template engine sees the ``{% extends %}`` tag, noting that this template is a child template. The engine immediately loads the parent templatein this case, ``base.html`` .
翻译:
以下是其工作方式。在加载 ``current_datetime.html`` 模板时,模板引擎发现了 ``{% extends %}`` 标签, 注意到该模板是一个子模板。模板引擎立即装载其父模板,即本例中的 ``base.html`` 。
备注:
译者: