Django Book 翻译
菜单>:
TOC
返回
原文:
Isnt this beautiful? Each template contains only the code thats *unique* to that template. No redundancy needed. If you need to make a site-wide design change, just make the change to ``base.html`` , and all of the other templates will immediately reflect the change.
翻译:
看起来很漂亮是不是?每个模板只包含对自己而言 *独一无二* 的代码。无需多余的部分。如果想进行站点级的设计修改,仅需修改 ``base.html`` ,所有其它模板会立即反映出所作修改。
备注:
译者: